Ignore:
Timestamp:
Oct 3, 2008, 8:45:49 PM (16 years ago)
Author:
broder
Message:

Update SQLAlchemy code in sipb-xen-dns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-dns/files/usr/sbin/sipb-xen-dns

    r1002 r1018  
    110110                        [], []))
    111111
    112                 value = invirt.database.Machine.get_by(name=host)
     112                value = invirt.database.Machine.query().filter_by(name=host).one()
    113113                if value is None or not value.nics:
    114114                    return defer.fail(failure.Failure(dns.AuthoritativeDomainError(name)))
Note: See TracChangeset for help on using the changeset viewer.