doit: don't crash if rpm-build is not available
ClosedPublic

Authored by mkrizek on Oct 2 2015, 10:33 AM.

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.
mkrizek retitled this revision from to doit: don't crash if rpm-build is not available.Oct 2 2015, 10:33 AM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added reviewers: tflink, kparal, jskladan, lbrabec.
kparal accepted this revision.Oct 2 2015, 12:23 PM

Thanks, works for me.

If you wanted to adjust it according to the EAFP pattern, here's how:
http://stackoverflow.com/questions/11210104/check-if-a-program-exists-from-a-python-script/11210185#11210185

This revision is now accepted and ready to land.Oct 2 2015, 12:23 PM
This revision was automatically updated to reflect the committed changes.