Fix _get_runtime_cfg on Python 3 (#4262)

This commit is contained in:
Yen Chi Hsuan
2017-03-18 18:06:32 -07:00
committed by Brad Warren
parent d54d3eba78
commit 97db9e646a
+2 -1
View File
@@ -136,7 +136,8 @@ class ApacheParser(object):
proc = subprocess.Popen(
constants.os_constant("define_cmd"),
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
stderr=subprocess.PIPE,
universal_newlines=True)
stdout, stderr = proc.communicate()
except (OSError, ValueError):