Skip to content
Snippets Groups Projects
Commit dd7b7afb authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: remover dupe call to update

parent 2b6adc54
No related branches found
No related tags found
No related merge requests found
...@@ -373,7 +373,7 @@ def scan(tree : FileTree) -> List[Match]: ...@@ -373,7 +373,7 @@ def scan(tree : FileTree) -> List[Match]:
filename = tree.update(**variables).get(template) filename = tree.update(**variables).get(template)
if not op.isfile(tree.update(**variables).get(template)): if not op.isfile(filename):
continue continue
matches.append(Match(filename, template, tree, variables)) matches.append(Match(filename, template, tree, variables))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment