From 4905f373ec8caaaca2247157055a65de6ef7f7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sun, 25 Dec 2016 08:55:38 +0100 Subject: [PATCH] remove debugging exceptions (but should already be correct this way) --- src/c3nav/routing/graph.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/c3nav/routing/graph.py b/src/c3nav/routing/graph.py index a73f2944..44039517 100644 --- a/src/c3nav/routing/graph.py +++ b/src/c3nav/routing/graph.py @@ -315,8 +315,7 @@ class Graph: if common_points: # same location if not add_orig_point and not add_dest_point: - #raise TypeError - pass#raise AlreadyThere() + raise AlreadyThere() # points are connectable with only one via best_point = None