Skip to content

Commit

Permalink
Fixed subprocess exception bug in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
devttys0 committed Sep 23, 2017
1 parent 58d1d92 commit 055aaae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
try:
label = subprocess.check_output(["git", "describe"], stderr=DEVNULL).decode('utf-8')
MODULE_VERSION = "%s-%s" % (MODULE_VERSION, label.split('-')[-1].strip())
except subprocess.CalledProcessError:
except KeyboardInterrupt as e:
raise e
except Exception:
pass

# Python2/3 compliance
Expand Down

0 comments on commit 055aaae

Please sign in to comment.