]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/configure.py
Implement 'wizard backup'. Other minor refactorings:
[wizard.git] / wizard / command / configure.py
index efb1b7bda7cbc52991ae317e2fd5489f3ecd74ad..2879b36fc9d1f7a9b08297a8c76bc14fea13aaed 100644 (file)
@@ -1,6 +1,7 @@
 import logging
 import optparse
 import sys
+import distutils.version
 
 from wizard import command, deploy, git
 
@@ -29,6 +30,7 @@ This is a plumbing command, normal users should use
             application = args[0]
         except IndexError:
             parser.error("Use 'wizard configure --help APP' to see APP-specific options.")
+        version = None # not relevant
     else:
         tag = git.describe()
         application, _, version = tag.partition('-')
@@ -41,5 +43,5 @@ This is a plumbing command, normal users should use
     options, args = parser.parse_all(argv)
     handler.handle(options)
 
-    app.install(options)
+    app.install(distutils.version.LooseVersion(version), options)