Kaydet (Commit) ced36a99 authored tarafından Giampaolo Rodola's avatar Giampaolo Rodola Kaydeden (comit) GitHub

bpo-30624 remaining bare except (#2108)

bpo-30624 / selectors: use bare 'except' clause instead of 'except
Exception'
üst 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