Fix a small error in setup.py
This commit is contained in:
parent
eb6309da75
commit
863a13943c
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue