Selaa lähdekoodia

debugging graph

tarfeef101 6 vuotta sitten
vanhempi
commit
60084220f1
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      a3/router.py

+ 2 - 0
a3/router.py

@@ -112,7 +112,9 @@ class db:
         # insert into graph if we have the endpoints for this edge
         if (got_dest):
             graph.insert(connection)
+            print("DONE INSERT")
             graph.rebuild()
+            print("DONE REBUILD")
             graph.show()
         # notify neighbours
         notify(connection)