self._hang()
print str
-def main(argv, global_options):
+def summary(argv, global_options):
usage = """usage: %prog summary [ARGS] APPS
Scans all of the collected data from parallel-find.pl, and
except wd.NoSuchApplication:
unrecognized += 1
continue
- if deploy.application.name + "-" + str(deploy.version.version) in show:
+ name = deploy.getApplication().name
+ if name + "-" + str(deploy.getVersion()) in show:
printer.write("%s-%s deployment at %s" \
- % (deploy.application.name, deploy.version.version, deploy.location))
- elif deploy.application.name in show:
+ % (name, deploy.getVersion(), deploy.location))
+ elif name in show:
pass
else:
continue
printer.write()
for app in wd.applications.values():
if app.name not in show: continue
- printer.write(app)
+ printer.write(app.report())
printer.write()
printer.write("With %d errors and %d unrecognized applications" % (errors, unrecognized))