Commit 4640bf1d authored by Vincent Pelletier's avatar Vincent Pelletier

Replace (currently) dead code with a raise.

We are testing values coming from an Enum, and we are testing all existing
values.
parent 0b2f519d
...@@ -500,7 +500,7 @@ class Application(object): ...@@ -500,7 +500,7 @@ class Application(object):
(uuid, state, handler) = manager.identifyStorageNode(uuid, node) (uuid, state, handler) = manager.identifyStorageNode(uuid, node)
logging.info('Accept a storage %s (%s)', dump(uuid), state) logging.info('Accept a storage %s (%s)', dump(uuid), state)
else: else:
handler = identification.IdentificationHandler(self) raise NotImplementedError(node_type)
return (uuid, node, state, handler, node_ctor) return (uuid, node, state, handler, node_ctor)
def onTransactionCommitted(self, txn): def onTransactionCommitted(self, txn):
......
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