diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2014-05-11 17:04:45 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2014-05-11 21:29:49 -0700 |
commit | 28079171a037e9bdd7a190fe8bd1446e02c8071f (patch) | |
tree | 389a976814bdd480f64a85a737ee7a7669e1f2c3 /urwid/web_display.py | |
parent | 52d94d1c9634095e408fa499f57558d232412ee5 (diff) | |
download | urwid-28079171a037e9bdd7a190fe8bd1446e02c8071f.tar.gz |
Fix `except ... as`.
This would normally be done with 2to3. But I'm trying to run the test
suite against 3, and urwid requires 2.6 anyway.
Diffstat (limited to 'urwid/web_display.py')
-rwxr-xr-x | urwid/web_display.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urwid/web_display.py b/urwid/web_display.py index e18555e..e088476 100755 --- a/urwid/web_display.py +++ b/urwid/web_display.py @@ -880,7 +880,7 @@ class Screen: try: iready,oready,eready = select.select( [self.input_fd],[],[],0.5) - except select.error, e: + except select.error as e: # return on interruptions if e.args[0] == 4: if raw_keys: |