allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [13/26] allura git commit: [#7832] ticket:740 Remove debug logging
Date Fri, 06 Mar 2015 12:35:20 GMT
[#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/aa6daf78
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/aa6daf78
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/aa6daf78

Branch: refs/heads/ib/7830
Commit: aa6daf7878c22e034a7ba188338eda08e3ed9ccc
Parents: f6074f2
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Feb 25 13:57:16 2015 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Feb 27 22:40:53 2015 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/rest.py | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/aa6daf78/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:


Mime
View raw message