svn path=/trunk/packages/sipb-xen-dns/; revision=1018
+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
* Include the requirement on twisted.names
[dns.RRHeader(name, dns.CNAME, dns.IN, ttl, record, auth=True)],
[], []))
- 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)))
ip = value.nics[0].ip