Fix a small error in setup.py

This commit is contained in:
mathieui 2015-01-21 14:47:10 +01:00
parent eb6309da75
commit 863a13943c
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -30,7 +30,7 @@ if os.path.exists(git_dir):
try:
import subprocess
result = subprocess.Popen(['git', '--git-dir', git_dir, 'describe'],
stdout=subprocess.PIPE)
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL)
result.wait()
data = result.stdout.read().decode('utf-8', errors='ignore')