diff options
author | Adrian Lane <adrian.lane@canonical.com> | 2020-11-17 17:12:51 -0800 |
---|---|---|
committer | Adrian Lane <adrian.lane@canonical.com> | 2020-11-17 17:12:51 -0800 |
commit | 0b9b869e9d8e18cf76ef4dcb4e0a3c8afe4a032c (patch) | |
tree | 07ea04e96617c73ca6d1e7e70bee693abd9fb9ec /bin | |
parent | 88ed5833fc9bd1abe395c41fc71e91246ef557e8 (diff) |
Warn w/o traceback if cpufreq testing unsupported.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cpufreq_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/cpufreq_test.py b/bin/cpufreq_test.py index 64a1d89..e58500f 100755 --- a/bin/cpufreq_test.py +++ b/bin/cpufreq_test.py @@ -42,8 +42,7 @@ class CpuFreqTestError(Exception): super().__init__() if 'scaling_driver' in message: logging.error( - '%s\n## Fatal: scaling via cpufeq unsupported ##', - message) + '%s\n## Fatal: scaling via cpufeq unsupported ##') # exempt systems unable to change intel_pstate driver mode elif 'intel_pstate/status' in message: pass |