Commit 4a0b936f authored by Julien Muchembled's avatar Julien Muchembled

Indent many lines before any real change

This is a preliminary commit, without any functional change,
just to make the next one easier to review.
parent 9f4dd15e
......@@ -135,6 +135,7 @@ class EpollEventManager(object):
def _poll(self, blocking):
if blocking:
if 1:
timeout = self._timeout
timeout_object = self
for conn in self.connection_dict.itervalues():
......@@ -155,6 +156,7 @@ class EpollEventManager(object):
elif exc.errno != EINTR:
raise
return
else:
if event_list:
self.unregistered = unregistered = []
wlist = []
......@@ -186,7 +188,8 @@ class EpollEventManager(object):
continue
if conn.readable():
self._addPendingConnection(conn)
elif blocking > 0:
return
if blocking > 0:
logging.debug('timeout triggered for %r', timeout_object)
timeout_object.onTimeout()
......
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