From 1a6d4b64d2de4f741b6df191a60d17bcddfa188b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 10 May 2013 17:55:31 +0200 Subject: [PATCH] setup.py: Remove error output if not in a git repo. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 05aa52d81..20fe1617b 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ if path: version = None try: proc = subprocess.Popen('git show HEAD --format=%ci', shell=True, - stdout=subprocess.PIPE) + stdout=subprocess.PIPE, stderr=subprocess.PIPE) version = proc.stdout.readline() \ .strip() \ .replace(' +', '+') \