]> scripts.mit.edu Git - wizard.git/blobdiff - wizard/command/errors.py
Move a bunch of summary items to full class commands.
[wizard.git] / wizard / command / errors.py
similarity index 81%
rename from wizard/command/summary/list_errors.py
rename to wizard/command/errors.py
index 7a6702fc253a620f5709c342024e71bf3d3210a3..5250254c2e191348e6c2f4e72a5a4717598a2aeb 100644 (file)
@@ -1,11 +1,10 @@
 import logging
 
 from wizard import deploy, command
-from wizard.command import summary
 
 def main(argv, baton):
     options, show = parse_args(argv, baton)
-    for e in summary.parse_install_lines(show, options, True):
+    for e in deploy.parse_install_lines(show, options, True):
         if not isinstance(e, deploy.Error):
             if isinstance(e, Exception):
                 raise e
@@ -16,7 +15,7 @@ def main(argv, baton):
             print e.location
 
 def parse_args(argv, baton):
-    usage = """usage: %prog summary list-errors [ARGS]
+    usage = """usage: %prog errors [ARGS]
 
 Lists all errors that occurred while parsing the versions
 directory."""