aboutsummaryrefslogtreecommitdiffstats
path: root/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 0167b934..f7be19d1 100644
--- a/utils.py
+++ b/utils.py
@@ -332,7 +332,7 @@ def run_process_output(args, initial_env=None):
stdout=subprocess.PIPE).stdout
result = []
for rawLine in stdOut.readlines():
- line = rawLine.decode('utf-8')
+ line = rawLine if sys.version_info >= (3,) else rawLine.decode('utf-8')
result.append(line.rstrip())
return result