Commit cee52283 authored by Paweł Tomak's avatar Paweł Tomak
Browse files

Fix for Python3

In Python3 without universal_newlines set to True
output from Popen was byte-encoded.
parent a9061f34
...@@ -16,7 +16,7 @@ symbols = { ...@@ -16,7 +16,7 @@ symbols = {
} }
output, error = Popen( output, error = Popen(
['git', 'status'], stdout=PIPE, stderr=PIPE).communicate() ['git', 'status'], stdout=PIPE, stderr=PIPE, universal_newlines=True).communicate()
if error: if error:
import sys import sys
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment