projects
/
invirt/packages/invirt-database.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set machine_access to be a private attribute of machine, so the acl is
[invirt/packages/invirt-database.git]
/
sipb-xen-database-tables
diff --git
a/sipb-xen-database-tables
b/sipb-xen-database-tables
index
f054616
..
439e5e1
100755
(executable)
--- a/
sipb-xen-database-tables
+++ b/
sipb-xen-database-tables
@@
-10,9
+10,11
@@
def usage():
if len(sys.argv) == 1:
usage()
-connect('postgres://sipb-xen@localhost/sipb_xen')
+connect('postgres://sipb-xen@/sipb_xen')
if sys.argv[1] == "create":
meta.create_all()
-else:
+elif sys.argv[1] == "drop":
meta.drop_all()
+else:
+ usage()