Browse Source

Merge pull request #2729 from grodzik/master

Fix for Python3
Robby Russell 11 years ago
parent
commit
ee31abfb2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/git-prompt/gitstatus.py

+ 1 - 1
plugins/git-prompt/gitstatus.py

@@ -16,7 +16,7 @@ symbols = {
 }
 
 output, error = Popen(
-    ['git', 'status'], stdout=PIPE, stderr=PIPE).communicate()
+    ['git', 'status'], stdout=PIPE, stderr=PIPE, universal_newlines=True).communicate()
 
 if error:
     import sys