summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/project.py b/project.py
index 66316411..b01a52ba 100644
--- a/project.py
+++ b/project.py
@@ -1840,11 +1840,11 @@ class Project(object):
1840 cookiefile = line[len(prefix):] 1840 cookiefile = line[len(prefix):]
1841 break 1841 break
1842 if p.wait(): 1842 if p.wait():
1843 line = iter(p.stderr).next() 1843 err_msg = p.stderr.read()
1844 if ' -print_config' in line: 1844 if ' -print_config' in err_msg:
1845 pass # Persistent proxy doesn't support -print_config. 1845 pass # Persistent proxy doesn't support -print_config.
1846 else: 1846 else:
1847 print(line + p.stderr.read(), file=sys.stderr) 1847 print(err_msg, file=sys.stderr)
1848 if cookiefile: 1848 if cookiefile:
1849 return cookiefile 1849 return cookiefile
1850 except OSError as e: 1850 except OSError as e: