Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
6111e209
Commit
6111e209
authored
Jul 30, 2017
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pylint errors for variable name and unused """comment"""
parent
25228ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
topydo/lib/Utils.py
topydo/lib/Utils.py
+5
-7
No files found.
topydo/lib/Utils.py
View file @
6111e209
...
@@ -81,16 +81,14 @@ def get_terminal_size(p_getter=None):
...
@@ -81,16 +81,14 @@ def get_terminal_size(p_getter=None):
except
ImportError
:
except
ImportError
:
from
backports.shutil_get_terminal_size
import
get_terminal_size
as
_get_terminal_size
# pylint: disable=import-error
from
backports.shutil_get_terminal_size
import
get_terminal_size
as
_get_terminal_size
# pylint: disable=import-error
s
z
=
_get_terminal_size
()
s
ize
=
_get_terminal_size
()
except
ValueError
:
except
ValueError
:
"""
# This can result from the 'underlying buffer being detached', which
This can result from the 'underlying buffer being detached', which
# occurs during running the unittest on Windows (but not on Linux?)
occurs during running the unittest on Windows (but not on Linux?)
"""
terminal_size
=
namedtuple
(
'Terminal_Size'
,
'columns lines'
)
terminal_size
=
namedtuple
(
'Terminal_Size'
,
'columns lines'
)
s
z
=
terminal_size
(
80
,
24
)
s
ize
=
terminal_size
(
80
,
24
)
return
s
z
return
s
ize
get_terminal_size
.
getter
=
inner
get_terminal_size
.
getter
=
inner
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment