diff --git a/pudb/debugger.py b/pudb/debugger.py index 4c609e80..e074dff0 100644 --- a/pudb/debugger.py +++ b/pudb/debugger.py @@ -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)) ) @@ -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: