mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
repository_tool: sort the list of roles in dirty_roles()
By sorting this printed list we make the output much easier to compare, whether by eye (as in users following the tutorial) or programatically. Signed-off-by: Joshua Lock <jlock@vmware.com>
This commit is contained in:
parent
282c9aa98b
commit
ff21b36d3b
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ def dirty_roles(self):
|
|||
None.
|
||||
"""
|
||||
|
||||
logger.info('Dirty roles: ' + str(tuf.roledb.get_dirty_roles(self._repository_name)))
|
||||
logger.info('Dirty roles: ' + str(sorted(tuf.roledb.get_dirty_roles(self._repository_name))))
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue