X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/blobdiff_plain/c6bc1bde279253712b4c85d99f6f6b883fac4f1c..44451282daf8ed442f44887762229aace00396a0:/wizard/command/errors.py diff --git a/wizard/command/errors.py b/wizard/command/errors.py index 08fd76e..7035285 100644 --- a/wizard/command/errors.py +++ b/wizard/command/errors.py @@ -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