Same format output for list-builroot with verbose for py3/py2

Fixes: https://pagure.io/koji/issue/3299
This commit is contained in:
Jana Cupova 2022-03-23 20:28:30 +01:00 committed by Tomas Kopecek
parent 16c2e6e576
commit 49f5f72a9f

View file

@ -2798,7 +2798,7 @@ def anon_handle_list_buildroot(goptions, session, args):
order = sorted([(fmt % x, x) for x in data])
for nvra, rinfo in order:
if options.verbose and rinfo.get('is_update'):
print(nvra, "[update]")
print("%s [update]" % nvra)
else:
print(nvra)