CLI list-untagged: One space only instead of double space before references

Fixes: https://pagure.io/koji/issue/3730
This commit is contained in:
Jana Cupova 2023-03-14 17:04:08 +01:00 committed by Tomas Kopecek
parent c0d537c4f0
commit 175c618e5b
2 changed files with 50 additions and 9 deletions

View file

@ -2854,7 +2854,7 @@ def anon_handle_list_untagged(goptions, session, args):
else:
fmt = "%(name)s-%(version)s-%(release)s"
if options.show_references:
fmt = fmt + " %(refs)s"
fmt = fmt + " %(refs)s"
output = sorted([fmt % x for x in data])
for line in output:
print(line)