Commit 57ba3163 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Better param name

parent fd9e8511
...@@ -136,9 +136,9 @@ class MsgQ: ...@@ -136,9 +136,9 @@ class MsgQ:
except AttributeError: except AttributeError:
self.kqueue = select.kqueue() self.kqueue = select.kqueue()
def add_kqueue_socket(self, socket, add_filter = 0): def add_kqueue_socket(self, socket, additional_filters = 0):
event = select.kevent(socket.fileno(), event = select.kevent(socket.fileno(),
select.KQ_FILTER_READ | add_filter, select.KQ_FILTER_READ | additional_filters,
select.KQ_EV_ADD | select.KQ_EV_ENABLE) select.KQ_EV_ADD | select.KQ_EV_ENABLE)
self.kqueue.control([event], 0) self.kqueue.control([event], 0)
......
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