From 5abf873be85973d6daef16b5b67fc7ebc328e6aa Mon Sep 17 00:00:00 2001 From: Olivier Verdier Date: Wed, 22 Sep 2010 17:39:46 +0200 Subject: [PATCH] compatibility with python 2.5 --- gitstatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstatus.py b/gitstatus.py index 30d2a5f6..ee6fab9b 100755 --- a/gitstatus.py +++ b/gitstatus.py @@ -24,7 +24,7 @@ unmerged = re.compile(r'^# Unmerged paths:$', re.MULTILINE) def execute(*command): - out, err = Popen(*command, stdout=PIPE, stderr=PIPE).communicate() + out, err = Popen(stdout=PIPE, stderr=PIPE, *command).communicate() if not err: nb = len(out.splitlines()) else: