TrackerWorker: use decorators for best_route_removed, new_best_routes
Bug #1718627 reported by
Thomas Morin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BaGPipe |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Instead of directly calling best_route_removed, new_best_routes, the code uses intermediate method to call best_route_removed or new_best_routes inside try/except blocks. The same could be achieved in a much more elegant way using a decorator.
Changed in networking-bagpipe: | |
status: | Confirmed → Invalid |
To post a comment you must log in.