summaryrefslogtreecommitdiff
path: root/distbuild/initiator.py
diff options
context:
space:
mode:
Diffstat (limited to 'distbuild/initiator.py')
-rw-r--r--distbuild/initiator.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/distbuild/initiator.py b/distbuild/initiator.py
index e02f6404..56820fc2 100644
--- a/distbuild/initiator.py
+++ b/distbuild/initiator.py
@@ -1,6 +1,6 @@
# distbuild/initiator.py -- state machine for the initiator
#
-# Copyright (C) 2012, 2014-2015 Codethink Limited
+# Copyright (C) 2012, 2014-2016 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -230,8 +230,8 @@ class Initiator(distbuild.StateMachine):
step_name = msg['step_name']
if step_name in self._step_outputs:
f = self._get_output(msg)
- f.write(msg['stdout'])
- f.write(msg['stderr'])
+ f.write(msg['stdout'].decode('unicode-escape'))
+ f.write(msg['stderr'].decode('unicode-escape'))
f.flush()
else:
logging.warning(