Commit 027c5a4a authored by Denis Bilenko's avatar Denis Bilenko

remove unnecessary assert

parent 868b9233
......@@ -132,7 +132,6 @@ cdef extern from "libevent.h":
cdef void __event_handler(int fd, short evtype, void *arg) with gil:
cdef event ev = <event>arg
try:
assert ev.fd == fd, (ev.fd, fd)
ev._callback(ev, evtype)
except:
traceback.print_exc()
......
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