[sr-dev] git:5.1:cd0fe9e4: tools: fix python exception usage in route_graph.py tool