Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 19717200BC0 for ; Tue, 15 Nov 2016 14:32:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 17F7C160B02; Tue, 15 Nov 2016 13:32:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5EA30160AD8 for ; Tue, 15 Nov 2016 14:32:05 +0100 (CET) Received: (qmail 28975 invoked by uid 500); 15 Nov 2016 13:32:04 -0000 Mailing-List: contact dev-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list dev@ariatosca.incubator.apache.org Received: (qmail 28962 invoked by uid 99); 15 Nov 2016 13:32:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 13:32:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F1F08C0118 for ; Tue, 15 Nov 2016 13:32:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.218 X-Spam-Level: X-Spam-Status: No, score=-6.218 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PSPpzXI2wcKY for ; Tue, 15 Nov 2016 13:32:01 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id E41895F24C for ; Tue, 15 Nov 2016 13:32:00 +0000 (UTC) Received: (qmail 28932 invoked by uid 99); 15 Nov 2016 13:32:00 -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; Tue, 15 Nov 2016 13:32:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 036B0E08B3; Tue, 15 Nov 2016 13:32:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nirb@apache.org To: dev@ariatosca.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-ariatosca git commit: ARIA-18 remove pylint-enable Date: Tue, 15 Nov 2016 13:32:00 +0000 (UTC) archived-at: Tue, 15 Nov 2016 13:32:06 -0000 Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-18-migrate-tosca-parser b2c8379c6 -> 45f8d6826 ARIA-18 remove pylint-enable Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/45f8d682 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/45f8d682 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/45f8d682 Branch: refs/heads/ARIA-18-migrate-tosca-parser Commit: 45f8d682681b53c9aea20d255cb1d429ea4f7165 Parents: b2c8379 Author: nirb Authored: Tue Nov 15 15:30:34 2016 +0200 Committer: nirb Committed: Tue Nov 15 15:30:34 2016 +0200 ---------------------------------------------------------------------- aria/parser/utils/rest_server.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/45f8d682/aria/parser/utils/rest_server.py ---------------------------------------------------------------------- diff --git a/aria/parser/utils/rest_server.py b/aria/parser/utils/rest_server.py index 109a1a1..9e842e7 100644 --- a/aria/parser/utils/rest_server.py +++ b/aria/parser/utils/rest_server.py @@ -177,8 +177,8 @@ class RestRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): self.send_plain_text_response(404, 'Not found\n') return - # pylint: disable=too-many-return-statements def handle_method(self, method): + # pylint: disable=too-many-return-statements self.matched_re, self.matched_route = self.match_route() if self.matched_route is None: @@ -225,8 +225,6 @@ class RestRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): else: self.wfile.write(content) - # pylint: enable=too-many-return-statements - # BaseHTTPRequestHandler # pylint: disable=invalid-name def do_HEAD(self): @@ -243,7 +241,6 @@ class RestRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): def do_DELETE(self): self.handle_method('DELETE') - # pylint: enable=invalid-name # # Utils