From 158c7665e4e88925942a801da7af77c4bc0f508c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 13 Jul 2016 15:34:30 +0200 Subject: [PATCH] Removed some debug logging --- pillar/application/modules/projects.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pillar/application/modules/projects.py b/pillar/application/modules/projects.py index 63c4ea9b..742f6b2d 100644 --- a/pillar/application/modules/projects.py +++ b/pillar/application/modules/projects.py @@ -439,14 +439,11 @@ def get_allowed_methods(project_id=None, node_type=None): the former is deducted from it. """ - log.debug('OPTIONS call on project_id=%s / node_type=%s', project_id, node_type) - project = mongo.find_one_or_404('projects', str2id(project_id)) proj_methods = authorization.compute_allowed_methods('projects', project, node_type) resp = make_response() resp.headers['Allowed'] = ', '.join(sorted(proj_methods)) - log.debug(' -> Allowed: %s', resp.headers['Allowed']) resp.status_code = 204 return resp