From 6463007ef1ab5a95da91b76b2d4ccf43f11608be Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 19 Apr 2016 15:17:02 +0200 Subject: [PATCH] Remove debug --- gns3server/handlers/api/compute/iou_handler.py | 2 -- gns3server/web/route.py | 1 - 2 files changed, 3 deletions(-) diff --git a/gns3server/handlers/api/compute/iou_handler.py b/gns3server/handlers/api/compute/iou_handler.py index f816471c..0ef3e315 100644 --- a/gns3server/handlers/api/compute/iou_handler.py +++ b/gns3server/handlers/api/compute/iou_handler.py @@ -163,8 +163,6 @@ class IOUHandler: for name, value in request.json.items(): if hasattr(vm, name) and getattr(vm, name) != value: setattr(vm, name, value) - print(name) - print(vm.iourc_path) yield from vm.start() response.json(vm) diff --git a/gns3server/web/route.py b/gns3server/web/route.py index 41b4a89e..16a566f4 100644 --- a/gns3server/web/route.py +++ b/gns3server/web/route.py @@ -250,7 +250,6 @@ class Route(object): else: type = "controller" lock_key = "{}:{}:{}".format(type, request.match_info["project_id"], vm_id) - print(lock_key) cls._vm_locks.setdefault(lock_key, {"lock": asyncio.Lock(), "concurrency": 0}) cls._vm_locks[lock_key]["concurrency"] += 1