#769 handle None in place of string in buildNotification
Merged 4 years ago by mikem. Opened 4 years ago by tkopecek.
tkopecek/koji issue724  into  master

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

          data[task_id]['id'] = taskinfo['id']

          data[task_id]['method'] = taskinfo['method']

          data[task_id]['arch'] = taskinfo['arch']

-         data[task_id]['build_arch'] = taskinfo['label']

+         data[task_id]['build_arch'] = taskinfo['label'] or ''

          data[task_id]['host'] = hostinfo and hostinfo['name'] or None

          data[task_id]['state'] = koji.TASK_STATES[taskinfo['state']].lower()

          data[task_id]['result'] = result

Commit d4a87c0 fixes this pull-request

Pull-Request has been merged by mikem

4 years ago
Metadata