diff options
author | Giuseppe Di Natale <[email protected]> | 2017-10-23 14:01:43 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-10-23 14:01:43 -0700 |
commit | 63e5e960bad6f6c7d8eeb8273988ec7fd10f0a60 (patch) | |
tree | 0326e205878b59ed007371b41fae1a7ca29ac566 /cmd/arcstat | |
parent | d9daa7abcf04f75ba013ec954c4f2d4854ba1cbc (diff) |
Correct flake8 errors after STYLE builder update
Fix new flake8 errors related to bare excepts and ambiguous
variable names due to a STYLE builder update.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #6776
Diffstat (limited to 'cmd/arcstat')
-rwxr-xr-x | cmd/arcstat/arcstat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/arcstat/arcstat.py b/cmd/arcstat/arcstat.py index b743fd8bc..d969da8d4 100755 --- a/cmd/arcstat/arcstat.py +++ b/cmd/arcstat/arcstat.py @@ -238,7 +238,7 @@ def get_terminal_lines(): data = fcntl.ioctl(sys.stdout.fileno(), termios.TIOCGWINSZ, '1234') sz = struct.unpack('hh', data) return sz[0] - except: + except Exception: pass |