#1211 Fix wrong error message
Merged a year ago by mikem. Opened a year ago by tkopecek.
tkopecek/koji issue1210  into  master

file modified
+1 -1

@@ -6016,7 +6016,7 @@ 


          except ValueError:

              parser.error(_("task-id must be an integer"))

-     else:

+     if not tlist:

          parser.error(_("please specify at least one task-id"))

      for task_id in tlist:


Fixes: https://pagure.io/koji/issue/1210

for/else resulted in error with correct arguments.

Tested and working. Thank you for the quick fix.

Commit 3a1d64a fixes this pull-request

Pull-Request has been merged by mikem

a year ago