ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject incubator-ariatosca git commit: ARIA-18 remove pylint-enable
Date Tue, 15 Nov 2016 13:32:00 GMT
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 <nirb@gigaspaces.com>
Authored: Tue Nov 15 15:30:34 2016 +0200
Committer: nirb <nirb@gigaspaces.com>
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


Mime
View raw message