From 7d2a29c1623dcd836b9dea4355ef923f4785d941 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Feb 05 2025 13:42:36 +0000 Subject: 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 --- diff --git a/koji/__init__.py b/koji/__init__.py index ac514ab..48cf99f 100644 --- a/koji/__init__.py +++ b/koji/__init__.py @@ -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'):