SEBA-560 Remove ansible from synchronizer framework;
Resolve exception from NetworkX upgrade;
Revise Makefile to use standard docker options
Change-Id: Idb29ed71ba46f97d8561a702b4c7e75d541d4e2c
diff --git a/lib/xos-synchronizer/xossynchronizer/event_loop.py b/lib/xos-synchronizer/xossynchronizer/event_loop.py
index 0c69694..21040c3 100644
--- a/lib/xos-synchronizer/xossynchronizer/event_loop.py
+++ b/lib/xos-synchronizer/xossynchronizer/event_loop.py
@@ -27,6 +27,7 @@
from networkx import (
DiGraph,
NetworkXNoPath,
+ NodeNotFound,
all_shortest_paths,
weakly_connected_component_subgraphs,
)
@@ -527,7 +528,7 @@
try:
any(paths)
paths = all_shortest_paths(G, m1, m2)
- except NetworkXNoPath:
+ except (NetworkXNoPath, NodeNotFound):
# Easy. The two models are unrelated.
return False, None