When submitting packages with build2.py and in the part of the script that does a git commit in the submitted dir, I was encountering an error with subprocess.check_output if there were no diffs to commit. (Git returns non-zero exit code if there are no changes to commit). I fixed this issue by converting that check_output to a Popen call.
When submitting packages with
build2.py
and in the part of the script that does agit commit
in the submitted dir, I was encountering an error withsubprocess.check_output
if there were no diffs to commit. (Git returns non-zero exit code if there are no changes to commit). I fixed this issue by converting thatcheck_output
to aPopen
call.