Return-Path: X-Original-To: apmail-allura-commits-archive@www.apache.org Delivered-To: apmail-allura-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B91817E2F for ; Wed, 25 Feb 2015 15:33:14 +0000 (UTC) Received: (qmail 94839 invoked by uid 500); 25 Feb 2015 15:33:01 -0000 Delivered-To: apmail-allura-commits-archive@allura.apache.org Received: (qmail 94792 invoked by uid 500); 25 Feb 2015 15:33:01 -0000 Mailing-List: contact commits-help@allura.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@allura.apache.org Delivered-To: mailing list commits@allura.apache.org Received: (qmail 94199 invoked by uid 99); 25 Feb 2015 15:33:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 15:33:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E46D0E0F5A; Wed, 25 Feb 2015 15:33:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jetmind@apache.org To: commits@allura.apache.org Date: Wed, 25 Feb 2015 15:33:25 -0000 Message-Id: <9ed3b3329e5e4b4c89ea56a7dcde1f2f@git.apache.org> In-Reply-To: <728afe124029455f954ca591926b7546@git.apache.org> References: <728afe124029455f954ca591926b7546@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Wed Feb 25 13:57:16 2015 +0000 Committer: Igor Bondarenko 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: