Commit 30462e36 authored by Vincent Pelletier's avatar Vincent Pelletier

Always reject my own UUID.

Fixes a regression introduced in b5309c78 .
parent 14021964
...@@ -402,6 +402,8 @@ class Application(object): ...@@ -402,6 +402,8 @@ class Application(object):
return prefix + uuid return prefix + uuid
def isValidUUID(self, uuid, addr): def isValidUUID(self, uuid, addr):
if uuid == self.uuid:
return False
node = self.nm.getByUUID(uuid) node = self.nm.getByUUID(uuid)
return node is None or node.getAddress() in (None, addr) return node is None or node.getAddress() in (None, addr)
......
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