Skip to content
Snippets Groups Projects
Commit 4642d220 authored by Bryan O'Sullivan's avatar Bryan O'Sullivan
Browse files

Make the output of install.py --list readable

parent dc3f5ff8
No related branches found
No related tags found
No related merge requests found
...@@ -880,10 +880,18 @@ def main(): ...@@ -880,10 +880,18 @@ def main():
# Handle the queries for information # Handle the queries for information
# #
if options.list_installed: if options.list_installed:
print "installed list:", installer.list_installed() print "installed list:"
inst = installer.list_installed()
inst.sort()
for i in inst:
print ' ', i
return 0 return 0
if options.list_installables: if options.list_installables:
print "installable list:", installer.list_installables() print "installable list:",
inst = installer.list_installables()
inst.sort()
for i in inst:
print ' ', i
return 0 return 0
if options.detail_installable: if options.detail_installable:
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment