Commit 142e44bd authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix coding style.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1923 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8c06ae5c
......@@ -75,7 +75,7 @@ class Epoll(object):
epoll_event_array = EpollEvent * self.maxevents
self.events = epoll_event_array()
def poll(self, timeout = 1):
def poll(self, timeout=1):
if timeout is None:
timeout = -1
else:
......
......@@ -82,7 +82,7 @@ class EpollEventManager(object):
def _addPendingConnection(self, conn):
self._pending_processing.append(conn)
def poll(self, timeout = 1):
def poll(self, timeout=1):
to_process = self._getPendingConnection()
if to_process is None:
# Fetch messages from polled file descriptors
......@@ -98,7 +98,7 @@ class EpollEventManager(object):
if to_process.hasPendingMessages():
self._addPendingConnection(to_process)
def _poll(self, timeout = 1):
def _poll(self, timeout=1):
rlist, wlist, elist = self.epoll.poll(timeout)
r_done_set = set()
for fd in rlist:
......
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