]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/errors.py
Implement prepare-new/prepare-pristine, add stub wordpress.
[wizard.git] / wizard / command / errors.py
index 08fd76ee538678d3fb0e9c3192f7aa51a6170c33..703528571872cae2961a7d0fddd772c79381cb4f 100644 (file)
@@ -1,5 +1,3 @@
-import logging
-
 from wizard import app, deploy, command
 
 def main(argv, baton):
@@ -12,7 +10,7 @@ def main(argv, baton):
         if options.verbose:
             if isinstance(e, app.NoSuchApplication):
                 print "Application %s does not exist, at %s" % (e.app, e.location)
-            elif isinstance(e, deploy.DeploymentParseError):
+            elif isinstance(e, app.DeploymentParseError):
                 print "Parse error for line '%s', at %s" % (e.value, e.location)
             else:
                 raise e