summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <chandan@chandansingh.net>2019-02-18 20:31:10 +0000
committerChandan Singh <chandan@chandansingh.net>2019-02-18 20:31:10 +0000
commit067a0c6bcc02559b13c9f090ffbb420f9b4023d0 (patch)
tree0dfd259d9c5ebb3b116d935bf97e95ac51935d6e
parentde70f8c02769f9a63898126589fd0ef7b8f8ce7c (diff)
parent00b86b193e588ab0c1d57ca685cff8b7e102cf86 (diff)
downloadbuildstream-067a0c6bcc02559b13c9f090ffbb420f9b4023d0.tar.gz
Merge branch 'chandan/fix-badge-subprocess-error' into 'master'
doc/badges.py: Fix catching of CalledProcessError See merge request BuildStream/buildstream!1160
-rwxr-xr-xdoc/badges.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/badges.py b/doc/badges.py
index 5e20dc7f9..247b0e8e8 100755
--- a/doc/badges.py
+++ b/doc/badges.py
@@ -96,7 +96,7 @@ def parse_tag(tag):
def guess_version(release):
try:
tags_output = subprocess.check_output(['git', 'tag'])
- except CalledProcessError:
+ except subprocess.CalledProcessError:
return (0, 0, 0)
# Parse the `git tag` output into a list of integer tuples