Skip to content

Commit

Permalink
One last tweak of shorten debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Apr 19, 2015
1 parent 0762035 commit 78f9c5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions commands/run_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1229,11 +1229,10 @@ def routeStillHasAChance(r):
for route in routes:
route.score /= len(route.hops)
elif cmdenv.shorten:
cmdenv.DEBUG0("Picking from {} shortened routes".format(
len(pickedRoutes)
))
cmdenv.DEBUG0("Picking from {} shortened routes", len(pickedRoutes))
routes = pickedRoutes
for route in routes:
cmdenv.DEBUG0("{} hops / {} gpt", len(route.hops), route.gpt)
route.score = route.gpt

if not routes:
Expand Down

0 comments on commit 78f9c5d

Please sign in to comment.