Commit 09854271 authored by Jérome Perrin's avatar Jérome Perrin

fixup! data_notebook: py3

parent 7a9718b3
......@@ -618,9 +618,9 @@ class CustomPrint(object):
def write(self, *args): # BBB PY2
self.captured_output_list += args
def __call__ (self, *args, end="\n", **kw):
def __call__ (self, *args, **kw):
self.captured_output_list.extend(args)
self.captured_output_list.append(end)
self.captured_output_list.append(kw.get("end", "\n"))
def getCapturedOutputString(self):
return ''.join(str(o) for o in self.captured_output_list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment