Commit 7b1a68a0 authored by Vincent Pelletier's avatar Vincent Pelletier

Restore an exception.

It is intended to raise even when running in optimised mode. The intent of
that change was to allow interpreter to detect the last elif is not
expected to be needed (although it is not known to make such deductions
currently). If only python had a deeper "enum" notion...
This (very) partially reverts f32e9120.
parent f8794c77
......@@ -65,7 +65,7 @@ class IdentificationHandler(MasterHandler):
handler = app.administration_handler
human_readable_node_type = 'n admin '
else:
assert False, node_type
raise NotImplementedError(node_type)
while not app.isValidUUID(uuid, address):
uuid = app.getNewUUID(node_type)
......
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