Skip to content
Browse files

subprocess raises OSError when git isn't installed (eg, in pbuilder e…

  • Loading branch information
sraustein committed Jul 28, 2016
1 parent 2de6ede commit 794705b7cde7ab8eade9d38ddd15cfbf5de5ebd8
Showing with 1 addition and 1 deletion.
  1. +1 −1 buildtools/
@@ -55,7 +55,7 @@

ver = subprocess.check_output(("git", "describe", "--match", "buildbot-*", "--dirty"), stderr = open("/dev/null", "w")).strip()
except subprocess.CalledProcessError:
except (OSError, subprocess.CalledProcessError):
ver = None


0 comments on commit 794705b

Please sign in to comment.
You can’t perform that action at this time.