mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-26 23:54:35 +02:00
fix: remove leftover debug print dumping all routes on ACE creation
Creating an ACE printed every route path of the application to stdout.
The debug loop was left behind when the route iteration moved to
_iter_route_paths() in 021991410.
This commit is contained in:
1 file changed
-3
@@ -203,9 +203,6 @@ async def create_ace(
|
||||
Required privilege: ACE.Allocate
|
||||
"""
|
||||
|
||||
for route_path in _iter_route_paths(request.app.routes, include_mounted_routes=True):
|
||||
print(route_path)
|
||||
|
||||
for route_path in _iter_route_paths(request.app.routes, include_mounted_routes=True):
|
||||
# remove the prefix (e.g. "/v3") from the route path
|
||||
normalized_path = re.sub(r"^/v[0-9]", "", route_path)
|
||||
|
||||
Reference in new issue
Block a user