diff options
Diffstat (limited to 'urwid/main_loop.py')
-rwxr-xr-x | urwid/main_loop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urwid/main_loop.py b/urwid/main_loop.py index 5d3be1f..2c314d8 100755 --- a/urwid/main_loop.py +++ b/urwid/main_loop.py @@ -640,7 +640,7 @@ class SelectEventLoop(object): while True: try: self._loop() - except select.error, e: + except select.error as e: if e.args[0] != 4: # not just something we need to retry raise |