Skip to content

Commit

Permalink
Sort ginfo output.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed Jul 9, 2016
1 parent 2a39a72 commit a6acf7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gc3libs/utils.py
Expand Up @@ -1067,7 +1067,7 @@ def prettyprint(
if _exclude is None:
_exclude = set()
_exclude.add(id(D))
for k, v in D.iteritems():
for k, v in sorted(D.iteritems()):
leading_spaces = indent * ' '
full_name = "%s%s" % (_key_prefix, k)
if only_keys is not None:
Expand Down
2 changes: 1 addition & 1 deletion gc3utils/commands.py
Expand Up @@ -209,7 +209,7 @@ def setup_options(self):
help="Print attributes in CSV format,"
" e.g., for generating files that can be"
" read by a spreadsheet program."
" MUST be used together with '-print'.")
" MUST be used together with '--print'.")
self.add_param("--no-header",
action="store_false", dest="header", default=True,
help="Do *not* print table or CSV file header.")
Expand Down

0 comments on commit a6acf7e

Please sign in to comment.