#2127 fix sanity check in merge_scratch
Merged 4 years ago by tkopecek. Opened 4 years ago by mikem.

file modified
+1 -1
@@ -6834,7 +6834,7 @@ 

          raise koji.ImportError('task %s did not complete successfully' % task_id)

      if task_info['method'] != 'build':

          raise koji.ImportError('task %s is not a build task' % task_id)

-     if not task_params.get('scratch'):

+     if not task_params.get('opts', {}).get('scratch'):

          raise koji.ImportError('task %s is not a scratch build' % task_id)

  

      # sanity check the task, and extract data required for import

Metadata Update from @mikem:
- Pull-request tagged with: testing-ready

4 years ago

Commit ffe41f2 fixes this pull-request

Pull-Request has been merged by tkopecek

4 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

4 years ago