]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Catch Subprocess exceptions
authorStephen Finucane <stephen@that.guru>
Thu, 2 Mar 2017 12:31:22 +0000 (12:31 +0000)
committerStephen Finucane <stephen@that.guru>
Thu, 2 Mar 2017 12:31:22 +0000 (12:31 +0000)
commit4e456618a22c5cd1080c14537806765fcfbc6a6f
tree3f7ec21ffecfb435a52e556579c3d741871231f5
parentd3e9aee4605411ad3ab672e7dd6b7bdd15836fe3
Catch Subprocess exceptions

Apparently different environments raise different return codes. Handle
the invalid return codes thrown by subprocess, presumably related to how
Travis checks out things from git.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: d3e9aee ("Don't catch non-Python 2.7 exceptions")
patchwork/version.py