From 60e9027e2e3478726c50b672e4b5cab0c2cfd397 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Sun, 20 Aug 2023 20:04:26 -0400 Subject: [PATCH] Fix type-o. --- utilities/run-any | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/utilities/run-any b/utilities/run-any index 7fa8a2a..5e76486 100755 --- a/utilities/run-any +++ b/utilities/run-any @@ -133,14 +133,14 @@ def show_and_return(cmd, enable_collect=False, cwd=None, shell=False): if cwd is not None: os.chdir(cwd) enable_call = False + out = { + 'bytes': None, # current line bytes + 'string': "", # current line string + # ^ (same as bytes if Python 2 running) + 'buffer': "", # cumulative buffer + 'lines': [], + } if enable_call: # FIXME: True for debug only--issue #616 (doesn't fix) - out = { - 'bytes': None, # current line bytes - 'string': "", # current line string - # ^ (same as bytes if Python 2 running) - 'buffer': "", # cumulative buffer - 'lines': [], - } err = copy.deepcopy(out) out['source'] = [] stream_metas = OrderedDict({