Skip to content

Commit

Permalink
Fix some pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Sep 24, 2023
1 parent 55a8d75 commit 7156767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pudb/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,7 @@ def _show_internal_exc_dlg(self, exc_tuple):
).format(
python=sys.version.replace("\n", " "),
pudb=VERSION,
urwid=".".join(map(str, urwid.version.VERSION)),
urwid=".".join(map(str, urwid.version.version)),
tb="".join(format_exception(*exc_tuple))
)

Expand Down Expand Up @@ -2802,7 +2802,7 @@ def event_loop(self, toplevel=None):
self.screen.draw_screen(self.size, canvas)
keys = self.screen.get_input()

for k in keys:
for k in keys: # pylint: disable=not-an-iterable
if k == "window resize":
self.size = self.screen.get_cols_rows()
else:
Expand Down

0 comments on commit 7156767

Please sign in to comment.