mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 15:34:30 +00:00
Merge pull request #13559 from opensourcerouting/fix/ignore_decoding_chars
tests: Ignore utf-8 decoding errors
This commit is contained in:
commit
cd0956e69d
@ -93,7 +93,7 @@ def spawn(unet, host, cmd, iow, ns_only):
|
||||
elif master_fd in r:
|
||||
o = os.read(master_fd, 10240)
|
||||
if o:
|
||||
iow.write(o.decode("utf-8"))
|
||||
iow.write(o.decode("utf-8", "ignore"))
|
||||
iow.flush()
|
||||
finally:
|
||||
# restore tty settings back
|
||||
|
Loading…
Reference in New Issue
Block a user