فهرست منبع

debugging graph

tarfeef101 6 سال پیش
والد
کامیت
60084220f1
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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)