Index: trunk/packages/sipb-xen-dns/debian/changelog
===================================================================
--- trunk/packages/sipb-xen-dns/debian/changelog	(revision 1016)
+++ trunk/packages/sipb-xen-dns/debian/changelog	(revision 1018)
@@ -1,2 +1,8 @@
+sipb-xen-dns (1.06) unstable; urgency=low
+
+  * Fix the SQLAlchemy calls
+
+ -- Evan Broder <broder@mit.edu>  Fri, 03 Oct 2008 20:44:23 -0400
+
 sipb-xen-dns (1.05.1) unstable; urgency=low
 
Index: trunk/packages/sipb-xen-dns/files/usr/sbin/sipb-xen-dns
===================================================================
--- trunk/packages/sipb-xen-dns/files/usr/sbin/sipb-xen-dns	(revision 1016)
+++ trunk/packages/sipb-xen-dns/files/usr/sbin/sipb-xen-dns	(revision 1018)
@@ -110,5 +110,5 @@
                         [], []))
 
-                value = invirt.database.Machine.get_by(name=host)
+                value = invirt.database.Machine.query().filter_by(name=host).one()
                 if value is None or not value.nics:
                     return defer.fail(failure.Failure(dns.AuthoritativeDomainError(name)))
