Remove debug

This commit is contained in:
Julien Duponchelle 2016-04-19 15:17:02 +02:00
parent d8005f6d4f
commit 6463007ef1
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 0 additions and 3 deletions

View File

@ -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)

View File

@ -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