PR#4210: avoid malformed tasks for updated signatures

Merges #4210
https://pagure.io/koji/pull-request/4210

Fixes: #4288
https://pagure.io/koji/issue/4288
Updated task signatures can lead to "malformed task" display
This commit is contained in:
Tomas Kopecek 2025-02-05 14:42:36 +01:00
commit 7d2a29c162

View file

@ -3729,6 +3729,8 @@ def _taskLabel(taskInfo):
# at this place (e.g. client without knowledge of such signatures)
# it should still display at least "method (arch)"
params = None
except ParameterError:
return '%s (%s, unknown args)' % (method, arch)
extra = ''
if method in ('build', 'maven'):