Add _taskLabel entry for indirectionimage
v2: cleanup whitespace and drop extra line from debugging
This commit is contained in:
parent
b884141891
commit
779a8bae08
1 changed files with 7 additions and 0 deletions
|
|
@ -3264,6 +3264,13 @@ def _taskLabel(taskInfo):
|
|||
else:
|
||||
module_info = os.path.basename(source)
|
||||
extra = '%s, %s' % (target, module_info)
|
||||
elif method in ('indirectionimage',):
|
||||
if 'request' in taskInfo:
|
||||
if len(taskInfo['request']) == 1:
|
||||
module_name = taskInfo['request'][0]['name']
|
||||
module_version = taskInfo['request'][0]['version']
|
||||
module_release = taskInfo['request'][0]['release']
|
||||
extra = '%s, %s, %s' % (module_name, module_version, module_release)
|
||||
elif method in ('buildSRPMFromSCM', 'buildSRPMFromCVS'):
|
||||
if 'request' in taskInfo:
|
||||
url = taskInfo['request'][0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue