mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
setup.py: Remove error output if not in a git repo.
This commit is contained in:
parent
c84d3d6b75
commit
0608676d0a
2
setup.py
2
setup.py
@ -45,7 +45,7 @@ if path:
|
|||||||
version = None
|
version = None
|
||||||
try:
|
try:
|
||||||
proc = subprocess.Popen('git show HEAD --format=%ci', shell=True,
|
proc = subprocess.Popen('git show HEAD --format=%ci', shell=True,
|
||||||
stdout=subprocess.PIPE)
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
version = proc.stdout.readline() \
|
version = proc.stdout.readline() \
|
||||||
.strip() \
|
.strip() \
|
||||||
.replace(' +', '+') \
|
.replace(' +', '+') \
|
||||||
|
Loading…
Reference in New Issue
Block a user