remove todo because it's done

This commit is contained in:
Laura Klünder 2017-12-10 16:31:11 +01:00
parent 16f017d811
commit baa92435ff

View file

@ -237,7 +237,6 @@ class Router:
location.nodes = set(i for i in location_nodes.keys())
location.nodes_addition = location_nodes
locations = tuple((location, ))
# todo: route from/to custom location
return RouterLocation(tuple(location for location in locations
if location is not None and (location.access_restriction_id is None or
location.access_restriction_id in permissions)))