]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/errors.py
Fix formatting bug.
[wizard.git] / wizard / command / errors.py
index 703528571872cae2961a7d0fddd772c79381cb4f..6b46720c6594ae58d09ddff8be6ca332a53eea9a 100644 (file)
@@ -2,7 +2,7 @@ from wizard import app, deploy, command
 
 def main(argv, baton):
     options, show = parse_args(argv, baton)
-    for e in deploy.parse_install_lines(show, options.versions_path, True):
+    for e in deploy.parse_install_lines(show, options.versions_path, True, user=options.user):
         if not isinstance(e, deploy.Error) and not isinstance(e, app.Error):
             if isinstance(e, Exception):
                 raise e
@@ -24,6 +24,7 @@ Lists all errors that occurred while parsing the versions
 directory."""
     parser = command.WizardOptionParser(usage)
     baton.push(parser, "versions_path")
+    baton.push(parser, "user")
     options, args = parser.parse_all(argv)
     if len(args) > 1:
         parser.error("too many arguments")