diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2018-08-13 13:53:05 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-08-13 13:53:05 +0200 |
commit | 32cefd018133443c60a280488520b3d096d819b5 (patch) | |
tree | 530c959bfc428745f5362c1fddb736412c3158db /psutil/_psaix.py | |
parent | 67e8874a8bead8637948b770c806dc5c10f80bd9 (diff) | |
download | psutil-32cefd018133443c60a280488520b3d096d819b5.tar.gz |
fix failing linux tests
Diffstat (limited to 'psutil/_psaix.py')
-rw-r--r-- | psutil/_psaix.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/_psaix.py b/psutil/_psaix.py index b402a188..7ba212db 100644 --- a/psutil/_psaix.py +++ b/psutil/_psaix.py @@ -269,7 +269,8 @@ def net_if_stats(): stdout, stderr = [x.decode(sys.stdout.encoding) for x in (stdout, stderr)] if p.returncode == 0: - re_result = re.search(r"Running: (\d+) Mbps.*?(\w+) Duplex", stdout) + re_result = re.search( + r"Running: (\d+) Mbps.*?(\w+) Duplex", stdout) if re_result is not None: speed = int(re_result.group(1)) duplex = re_result.group(2) |