handle tag/host arch mismatch for wrapperRPM tasks as well
This commit is contained in:
parent
25b806803b
commit
c3d4b8bdc8
1 changed files with 2 additions and 2 deletions
|
|
@ -1040,10 +1040,10 @@ class TaskManager(object):
|
|||
Returns True if successful, False otherwise
|
||||
"""
|
||||
self.logger.info("Attempting to take task %s" % task['id'])
|
||||
if task['method'] in ('buildArch', 'buildSRPMFromSCM', 'buildMaven') and \
|
||||
if task['method'] in ('buildArch', 'buildSRPMFromSCM', 'buildMaven', 'wrapperRPM') and \
|
||||
task['arch'] == 'noarch':
|
||||
task_info = self.session.getTaskInfo(task['id'], request=True)
|
||||
if task['method'] == 'buildMaven':
|
||||
if task['method'] in ('buildMaven', 'wrapperRPM'):
|
||||
tag = task_info['request'][1]
|
||||
else:
|
||||
tag_id = task_info['request'][1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue