From 7a2218d74a35bf9c06d6be587d6e44e7753b6637 Mon Sep 17 00:00:00 2001 From: Robert David Grant Date: Sun, 8 Jun 2014 15:26:28 -0500 Subject: [PATCH] Fix iopubwatcher to work under Python 3. --- utils/iopubwatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/iopubwatcher.py b/utils/iopubwatcher.py index 62b4e9d3..791b609a 100755 --- a/utils/iopubwatcher.py +++ b/utils/iopubwatcher.py @@ -67,7 +67,7 @@ def main(connection_file): elif msg['msg_type'] == 'pyerr': # Python traceback c = msg['content'] - print(topic + ':') + print(topic + b':') for line in c['traceback']: # indent lines print(' ' + line)