initial precise port
authorAdam Glasgall <glasgall@mit.edu>
Sat, 27 Apr 2013 01:41:22 +0000 (21:41 -0400)
committerAdam Glasgall <glasgall@mit.edu>
Sat, 27 Apr 2013 01:41:22 +0000 (21:41 -0400)
debian/changelog
invirt-dhcpserver

index 4e08c8f..35ac10e 100644 (file)
@@ -1,3 +1,9 @@
+invirt-dhcp (0.0.6~glasgall1) precise; urgency=low
+
+  * Port to Precise, with sqlalchemy api changes
+
+ -- Adam Glasgall <glasgall@mit.edu>  Fri, 26 Apr 2013 21:40:50 -0400
+
 invirt-dhcp (0.0.5) unstable; urgency=low
 
   * Added README from Trac File
index ffbf839..9f6fb68 100755 (executable)
@@ -25,7 +25,7 @@ class DhcpBackend:
         database.connect()
     def findNIC(self, mac):
         database.clear_cache()
-        return database.NIC.query().filter_by(mac_addr=mac).first()
+        return database.NIC.query.filter_by(mac_addr=mac).first()
     def find_interface(self, packet):
         chaddr = hwmac(packet.GetHardwareAddress())
         nic = self.findNIC(str(chaddr))