update sipb-xen-database-tables sipb-xen-database/10.16
authorGreg Price <price@mit.edu>
Sun, 3 Aug 2008 04:53:26 +0000 (00:53 -0400)
committerGreg Price <price@mit.edu>
Sun, 3 Aug 2008 04:53:26 +0000 (00:53 -0400)
svn path=/trunk/packages/sipb-xen-database/; revision=836

config.todo
debian/changelog
sipb-xen-database-tables

index b0913c1..2af7206 100644 (file)
@@ -1,2 +1 @@
 client/etc/xen/sipb-database: gateway, netmask
-sipb-xen-database-tables: db uri
index a271791..b3dd84b 100644 (file)
@@ -1,3 +1,10 @@
+sipb-xen-database (10.16) unstable; urgency=low
+
+  in sipb-xen-database-tables:
+  * use invirt.database, and take default db uri
+
+ -- Greg Price <price@mit.edu>  Sun,  3 Aug 2008 00:51:32 -0400
+
 sipb-xen-database (10.15) unstable; urgency=low
 
   in /etc/xen/database:
index 439e5e1..0b37bfc 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-from sipb_xen_database import *
+from invirt import database
 import sys
 
 def usage():
@@ -10,11 +10,11 @@ def usage():
 if len(sys.argv) == 1:
     usage()
 
-connect('postgres://sipb-xen@/sipb_xen')
+database.connect()
 
 if sys.argv[1] == "create":
-    meta.create_all()
+    database.meta.create_all()
 elif sys.argv[1] == "drop":
-    meta.drop_all()
+    database.meta.drop_all()
 else:
     usage()