You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/02/25 16:33:25 UTC
[26/28] allura git commit: [#7832] ticket:740 Remove debug logging
[#7832] ticket:740 Remove debug logging
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/dbebe889
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/dbebe889
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/dbebe889
Branch: refs/heads/ib/7832
Commit: dbebe88973085eb71840635442d370050493fd31
Parents: c1fce1c
Author: Igor Bondarenko <je...@gmail.com>
Authored: Wed Feb 25 13:57:16 2015 +0000
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Wed Feb 25 13:57:16 2015 +0000
----------------------------------------------------------------------
Allura/allura/controllers/rest.py | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/dbebe889/Allura/allura/controllers/rest.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/rest.py b/Allura/allura/controllers/rest.py
index 2c1a042..ab21649 100644
--- a/Allura/allura/controllers/rest.py
+++ b/Allura/allura/controllers/rest.py
@@ -50,8 +50,6 @@ class RestController(object):
headers_auth = 'Authorization' in request.headers
params_auth = 'oauth_token' in request.params
params_auth = params_auth or 'access_token' in request.params
- log.error(headers_auth)
- log.error(request.headers)
if headers_auth or params_auth:
return self.oauth._authenticate()
else:
@@ -111,7 +109,6 @@ class OAuthNegotiator(object):
def _authenticate(self):
bearer_token_prefix = 'OAuth BearerToken access_token='
auth = request.headers.get('Authorization')
- log.error(auth)
if auth and auth.startswith(bearer_token_prefix):
access_token = auth[len(bearer_token_prefix):]
else: