Commit ced36a99 authored by Giampaolo Rodola's avatar Giampaolo Rodola Committed by GitHub

bpo-30624 remaining bare except (#2108)

bpo-30624 / selectors: use bare 'except' clause instead of 'except
Exception'
parent 7d1017d9
......@@ -357,7 +357,7 @@ class _PollLikeSelector(_BaseSelectorImpl):
poller_events |= self._EVENT_WRITE
try:
self._selector.register(key.fd, poller_events)
except Exception:
except:
super().unregister(fileobj)
raise
return key
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment