+import logging
+import traceback
+
from wizard.command import _command
from wizard.command.summary import _summary
def main(argv, baton):
options, show = parse_args(argv, baton)
- for d in _summary.parse_install_lines(show, options):
+ errors = 0
+ for d in _summary.parse_install_lines(show, options, True):
+ if isinstance(d, Exception):
+ errors += 1
print d.location
+ if errors:
+ logging.warning("%d errors, see wizard summary list-errors for details" % errors)
def parse_args(argv, baton):
usage = """usage: %prog summary list [ARGS] [APP[-VERSION]]