koji_directive: don't crash when latest stable build doesn't exist
ClosedPublic

Authored by kparal on Mar 22 2017, 2:20 PM.

Details

Summary

If there's no previous stable build to download, we should simply skip.
We used to crash, e.g.:
http://taskotron-dev.fedoraproject.org/taskmaster/builders/x86_64/builds/403176

Test Plan

tested with tweaked abipkgdiff, works well

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kparal created this revision.Mar 22 2017, 2:20 PM
mkrizek accepted this revision.Mar 22 2017, 2:23 PM
This revision is now accepted and ready to land.Mar 22 2017, 2:23 PM
This revision was automatically updated to reflect the committed changes.