mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
setup.py: Remove error output if not in a git repo.
This commit is contained in:
parent
115f8001fe
commit
1a6d4b64d2
2
setup.py
2
setup.py
@ -46,7 +46,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