Commit 6111e209 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix pylint errors for variable name and unused """comment"""

parent 25228ed0
......@@ -81,16 +81,14 @@ def get_terminal_size(p_getter=None):
except ImportError:
from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size # pylint: disable=import-error
sz = _get_terminal_size()
size = _get_terminal_size()
except ValueError:
"""
This can result from the 'underlying buffer being detached', which
occurs during running the unittest on Windows (but not on Linux?)
"""
# This can result from the 'underlying buffer being detached', which
# occurs during running the unittest on Windows (but not on Linux?)
terminal_size = namedtuple('Terminal_Size', 'columns lines')
sz = terminal_size(80, 24)
size = terminal_size(80, 24)
return sz
return size
get_terminal_size.getter = inner
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment