koji.GenericError is raised from getTaskInfo instead of returning None, if a task id does not exist in Koji.
Fix #52
Signed-off-by: Chenxiong Qi cqi@redhat.com
@lsedlar please review
Handling the exception would be good. I think it should still handle None, as the koji code can in my opinion return it in some cases.
None
I tracked the execution into Koji. There are two results from getTaskInfo
getTaskInfo
GenericError
Pull-Request has been merged by lsedlar
koji.GenericError is raised from getTaskInfo instead of returning None,
if a task id does not exist in Koji.
Fix #52
Signed-off-by: Chenxiong Qi cqi@redhat.com