Commit 99490a92 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove useless decorator and old FIXME.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@947 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 169cbd6b
...@@ -23,11 +23,7 @@ from neo.protocol import BROKEN_STATE, \ ...@@ -23,11 +23,7 @@ from neo.protocol import BROKEN_STATE, \
DOWN_STATE, TEMPORARILY_DOWN_STATE, HIDDEN_STATE, \ DOWN_STATE, TEMPORARILY_DOWN_STATE, HIDDEN_STATE, \
DISCARDED_STATE, OUT_OF_DATE_STATE, UnexpectedPacketError DISCARDED_STATE, OUT_OF_DATE_STATE, UnexpectedPacketError
from neo.node import StorageNode from neo.node import StorageNode
from neo import decorators
# FIXME: before move handlers, this one was inheriting from EventHandler
# instead of BaseStorageHandler
class HiddenHandler(BaseMasterHandler): class HiddenHandler(BaseMasterHandler):
"""This class implements a generic part of the event handlers.""" """This class implements a generic part of the event handlers."""
...@@ -93,7 +89,6 @@ class HiddenHandler(BaseMasterHandler): ...@@ -93,7 +89,6 @@ class HiddenHandler(BaseMasterHandler):
app.pt.update(cell_list, app.nm) app.pt.update(cell_list, app.nm)
app.dm.changePartitionTable(ptid, cell_list) app.dm.changePartitionTable(ptid, cell_list)
@decorators.client_connection_required
def handleStartOperation(self, conn, packet): def handleStartOperation(self, conn, packet):
self.app.operational = True self.app.operational = True
......
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