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
Remove unnecessary constructors
[invirt/packages/invirt-database.git]
/
sipb-xen-database-tables
diff --git
a/sipb-xen-database-tables
b/sipb-xen-database-tables
index
537462a
..
439e5e1
100755
(executable)
--- a/
sipb-xen-database-tables
+++ b/
sipb-xen-database-tables
@@
-14,5
+14,7
@@
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()