eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit cec5fab9b3ea60bf292a6aaa5fde488cc4876743
parent 9edb19639554223e25f39eff091a5e4df9497a1d
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed,  6 Apr 2022 12:14:53 -0700

test-runner: allow decode failure when writing IO

If this fails, e.g. an invalid utf-8 character it should not cause
the test to fail.

Diffstat:
Mtools/utils.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/utils.py b/tools/utils.py @@ -168,7 +168,10 @@ class Process(subprocess.Popen): if not data: return True - data = data.decode('utf-8') + try: + data = data.decode('utf-8') + except: + return True # Save data away in case the caller needs it (e.g. list_sta) self.out += data