if not show:
print "No applications found"
for application in show:
- print "%-16s %3d installs" % (application.name, c_application[application])
+ print "%-20s %3d installs" % (application.name, c_application[application])
vmax = max(c_version[x] for x in application.versions.values())
for version in sorted(application.versions.values()):
v = c_version[version]
graph = '+' * int(math.ceil(float(v)/vmax * HISTOGRAM_WIDTH))
- print " %-12s %3d %s" % (version.version, v, graph)
+ print " %-16s %3d %s" % (version.version, v, graph)
print
def parse_args(argv, baton):
#: Absolute path to the deployment
location = None
def __init__(self, location, version=None):
- self.location = os.path.realpath(location)
+ self.location = os.path.abspath(location)
self._app_version = version
# some cache variables
self._read_cache = {}