From 66112061d6820265f1d9157f5a62132ae76c6528 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Sat, 20 Sep 2014 12:42:40 +0200 Subject: [PATCH] Fix adding of nodes with multiple matching alises --- ffmap/nodedb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmap/nodedb.py b/ffmap/nodedb.py index 0be76b0..344ed29 100644 --- a/ffmap/nodedb.py +++ b/ffmap/nodedb.py @@ -42,7 +42,7 @@ class NodeDB(dict): if id_ == node_id: continue if id_ in self: - if node is not None: + if node is not None and node is not self[id_]: raise AmbiguityError([node_id, id_]) node = self[id_] node_id = id_