diff options
author | Ben Raz <ben9923@gmail.com> | 2022-07-31 08:21:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 07:21:07 +0200 |
commit | df3fba560125a1694140418458d85076ebc546fd (patch) | |
tree | 6b721c81b40512e84b5c18d5e6e4faf1e780268b /psutil | |
parent | 57ed46de8a988e7ab26279c2a967fb15b05397a3 (diff) | |
download | psutil-df3fba560125a1694140418458d85076ebc546fd.tar.gz |
Fix missing whitespace in try-except caluses (#2127)
Diffstat (limited to 'psutil')
-rw-r--r-- | psutil/_psbsd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_psbsd.py b/psutil/_psbsd.py index fd518985..56acedb3 100644 --- a/psutil/_psbsd.py +++ b/psutil/_psbsd.py @@ -326,11 +326,11 @@ if FREEBSD: if available_freq: try: min_freq = int(available_freq.split(" ")[-1].split("/")[0]) - except(IndexError, ValueError): + except (IndexError, ValueError): min_freq = None try: max_freq = int(available_freq.split(" ")[0].split("/")[0]) - except(IndexError, ValueError): + except (IndexError, ValueError): max_freq = None ret.append(_common.scpufreq(current, min_freq, max_freq)) return ret |