mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 12:59:42 -07:00
Update mako==1.3.5
This commit is contained in:
parent
c0c79c904b
commit
3d4e5fc4d2
2 changed files with 1 additions and 5 deletions
|
@ -5,4 +5,4 @@
|
||||||
# the MIT License: http://www.opensource.org/licenses/mit-license.php
|
# the MIT License: http://www.opensource.org/licenses/mit-license.php
|
||||||
|
|
||||||
|
|
||||||
__version__ = "1.3.3"
|
__version__ = "1.3.5"
|
||||||
|
|
|
@ -92,8 +92,6 @@ class FindIdentifiers(_ast_util.NodeVisitor):
|
||||||
|
|
||||||
def visit_ListComp(self, node):
|
def visit_ListComp(self, node):
|
||||||
if self.in_function:
|
if self.in_function:
|
||||||
if not isinstance(node.elt, _ast.Name):
|
|
||||||
self.visit(node.elt)
|
|
||||||
for comp in node.generators:
|
for comp in node.generators:
|
||||||
self.visit(comp.iter)
|
self.visit(comp.iter)
|
||||||
else:
|
else:
|
||||||
|
@ -103,8 +101,6 @@ class FindIdentifiers(_ast_util.NodeVisitor):
|
||||||
|
|
||||||
def visit_DictComp(self, node):
|
def visit_DictComp(self, node):
|
||||||
if self.in_function:
|
if self.in_function:
|
||||||
if not isinstance(node.key, _ast.Name):
|
|
||||||
self.visit(node.elt)
|
|
||||||
for comp in node.generators:
|
for comp in node.generators:
|
||||||
self.visit(comp.iter)
|
self.visit(comp.iter)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue