String formatting simplification
This commit is contained in:
parent
b02fc3f42c
commit
ecfa225187
@ -50,7 +50,7 @@ parser_container_cleanup.add_argument('lxc', nargs=argparse.REMAINDER)
|
|||||||
|
|
||||||
def print_apps(packages):
|
def print_apps(packages):
|
||||||
for app, meta in packages.items():
|
for app, meta in packages.items():
|
||||||
print('{} {}'.format(app, meta['version']))
|
print(app, meta['version'])
|
||||||
for key, value in meta['meta'].items():
|
for key, value in meta['meta'].items():
|
||||||
print(' {}: {}'.format(key, value))
|
print(' {}: {}'.format(key, value))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user