Add 'continue' not supported inside 'finally' clause.

This commit is contained in:
Dave Halter
2017-07-19 23:33:16 +02:00
parent 944fe5a896
commit 4919eccf00
3 changed files with 20 additions and 4 deletions

View File

@@ -174,8 +174,10 @@ class PEP8Normalizer(ErrorFinder):
@contextmanager
def visit_node(self, node):
with super(PEP8Normalizer, self).visit_node(node):
return self._visit_node(node)
with self._visit_node(node):
yield
@contextmanager
def _visit_node(self, node):
typ = node.type