changeset 635:5f09d36c24be

0.6dev: Follow-up to [702] where I'd forgot to adjust subprocess execute() to decode the output as implemented for the other methods in [701]. Re-closes #119.
author osimons
date Mon, 17 Aug 2009 20:11:01 +0000
parents 945b999a1df1
children 21902b481ee7
files bitten/build/api.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/build/api.py
+++ b/bitten/build/api.py
@@ -168,7 +168,7 @@
                     self.returncode = p.returncode
                 try:
                     name, line = queue.get(block=True, timeout=.01)
-                    line = line and line.rstrip().replace('\x00', '')
+                    line = line and _decode(line.rstrip().replace('\x00', ''))
                     if name == 'stderr':
                         yield (None, line)
                     else:
Copyright (C) 2012-2017 Edgewall Software