Commit 46ab2a3d authored by Vincent Pelletier's avatar Vincent Pelletier

Use method access factorisation.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2494 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent af5253bd
...@@ -270,10 +270,10 @@ class Application(object): ...@@ -270,10 +270,10 @@ class Application(object):
if is_forgotten: if is_forgotten:
raise ValueError, 'ForgottenPacket for an ' \ raise ValueError, 'ForgottenPacket for an ' \
'explicitely expected packet.' 'explicitely expected packet.'
self._handlePacket(conn, packet, handler=handler) _handlePacket(conn, packet, handler=handler)
break break
elif not is_forgotten and packet is not None: elif not is_forgotten and packet is not None:
self._handlePacket(conn, packet) _handlePacket(conn, packet)
@profiler_decorator @profiler_decorator
def _askStorage(self, conn, packet): def _askStorage(self, conn, packet):
......
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