zrb 1.6.2__py3-none-any.whl → 1.6.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
zrb/util/cmd/command.py CHANGED
@@ -71,9 +71,8 @@ async def run_command(
71
71
  line = None
72
72
  try:
73
73
  line = await stream.readline()
74
- line = line.decode("utf-8").rstrip()
75
74
  except asyncio.exceptions.CancelledError:
76
- break
75
+ pass
77
76
  except asyncio.exceptions.LimitOverrunError as e:
78
77
  # Recover by reading a limited chunk instead
79
78
  await stream.read(e.consumed)
@@ -83,6 +82,10 @@ async def run_command(
83
82
  pass
84
83
  if not line:
85
84
  break
85
+ try:
86
+ line = line.decode("utf-8").rstrip()
87
+ except Exception:
88
+ pass
86
89
  lines.append(line)
87
90
  if len(lines) > max_lines:
88
91
  lines.pop(0) # Keep only the last max_lines
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zrb
3
- Version: 1.6.2
3
+ Version: 1.6.3
4
4
  Summary: Your Automation Powerhouse
5
5
  Home-page: https://github.com/state-alchemists/zrb
6
6
  License: AGPL-3.0-or-later
@@ -343,7 +343,7 @@ zrb/util/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
343
343
  zrb/util/cli/style.py,sha256=D_548KG1gXEirQGdkAVTc81vBdCeInXtnG1gV1yabBA,6655
344
344
  zrb/util/cli/subcommand.py,sha256=umTZIlrL-9g-qc_eRRgdaQgK-whvXK1roFfvnbuY7NQ,1753
345
345
  zrb/util/cmd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
346
- zrb/util/cmd/command.py,sha256=JTbKftqyqkwQLKuHuFe6XLxrrNlqA0uq0Yr0Fg_mjno,5144
346
+ zrb/util/cmd/command.py,sha256=CsS6KKATOAmM9F482Ox5kVV8hRgFcueqvB5obEcJENs,5211
347
347
  zrb/util/cmd/remote.py,sha256=NGQq2_IrUMDoZz3qmcgtnNYVGjMHaBKQpZxImf0yfXA,1296
348
348
  zrb/util/codemod/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
349
349
  zrb/util/codemod/modification_mode.py,sha256=z_4U2gjskEHkFm6UtBe_Wbm-erufYaXgPbdCQ6CZMlw,128
@@ -369,7 +369,7 @@ zrb/util/string/name.py,sha256=SXEfxJ1-tDOzHqmSV8kvepRVyMqs2XdV_vyoh_9XUu0,1584
369
369
  zrb/util/todo.py,sha256=VGISej2KQZERpornK-8X7bysp4JydMrMUTnG8B0-liI,20708
370
370
  zrb/xcom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
371
371
  zrb/xcom/xcom.py,sha256=o79rxR9wphnShrcIushA0Qt71d_p3ZTxjNf7x9hJB78,1571
372
- zrb-1.6.2.dist-info/METADATA,sha256=MOJ6LKW9FeKZmgUusnLuN4oz1Ll2L6rB8B7YZKuaAks,8385
373
- zrb-1.6.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
374
- zrb-1.6.2.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
375
- zrb-1.6.2.dist-info/RECORD,,
372
+ zrb-1.6.3.dist-info/METADATA,sha256=lq9Tb957J2-bL_K26uJ7xdoD1xnpBksE1rL1Jo9RQc8,8385
373
+ zrb-1.6.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
374
+ zrb-1.6.3.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
375
+ zrb-1.6.3.dist-info/RECORD,,
File without changes