|
|
@ -133,7 +133,6 @@ def show_and_return(cmd, enable_collect=False, cwd=None, shell=False): |
|
|
|
if cwd is not None: |
|
|
|
os.chdir(cwd) |
|
|
|
enable_call = False |
|
|
|
if enable_call: # FIXME: True for debug only--issue #616 (doesn't fix) |
|
|
|
out = { |
|
|
|
'bytes': None, # current line bytes |
|
|
|
'string': "", # current line string |
|
|
@ -141,6 +140,7 @@ def show_and_return(cmd, enable_collect=False, cwd=None, shell=False): |
|
|
|
'buffer': "", # cumulative buffer |
|
|
|
'lines': [], |
|
|
|
} |
|
|
|
if enable_call: # FIXME: True for debug only--issue #616 (doesn't fix) |
|
|
|
err = copy.deepcopy(out) |
|
|
|
out['source'] = [] |
|
|
|
stream_metas = OrderedDict({ |
|
|
|