summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 59a2e27..0d0a90d 100644
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,8 @@ dbus_glib_includes.extend([ x.replace("-I", "") for x in output.split() ])
if os.path.exists(".git"):
pipe = ""
pipe = os.popen3("git-log --stat")
-
+
+ output = pipe[1].read().strip()
error = pipe[2].read().strip()
if error:
@@ -64,14 +65,13 @@ if os.path.exists(".git"):
p.close()
pipe = os.popen3("git-log")
+ output = pipe[1].read().strip()
error = pipe[2].read().strip()
if error:
print "ERROR: running git-log (%s)" % (error)
raise SystemExit
- output = pipe[1].read().strip()
-
for p in pipe:
p.close()