Skip to content

Commit

Permalink
compatibility with python 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierverdier committed Sep 22, 2010
1 parent d3aca29 commit 5abf873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5abf873

Please sign in to comment.