From 425d91c08515edeb83a36b66341c21b6b1d6868a Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Thu, 5 Nov 2026 23:13:42 +0800 Subject: [PATCH] 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. --- gns3server/api/routes/controller/acl.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gns3server/api/routes/controller/acl.py b/gns3server/api/routes/controller/acl.py index 49f814966..60ca2e2fe 100644 --- a/gns3server/api/routes/controller/acl.py +++ b/gns3server/api/routes/controller/acl.py @@ -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)