From 402615c60facc10d822ecc1a99834b3b3b56e9b4 2012-06-12 22:35:18 From: Jörgen Stenarson Date: 2012-06-12 22:35:18 Subject: [PATCH] Declare byte-type --- diff --git a/IPython/utils/_process_win32.py b/IPython/utils/_process_win32.py index 9b1ee5a..cf53c57 100644 --- a/IPython/utils/_process_win32.py +++ b/IPython/utils/_process_win32.py @@ -154,7 +154,7 @@ def getoutput(cmd): out = process_handler(cmd, lambda p: p.communicate()[0], STDOUT) if out is None: - out = '' + out = b'' return py3compat.bytes_to_str(out) try: