Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ifex/output_filters/JinjaSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def find_matching_template_files(self, directory : str, root_ast_class, recurse

templates = {} # Dict maps node name to the template file name
if recurse:
for _,_,filenames in os.walk(directory):
for root, _, filenames in os.walk(directory):
for ff in filenames:
for n in classes:
if ff.startswith(n + '.'):
Expand Down
2 changes: 1 addition & 1 deletion ifex/output_filters/templates/TemplateDir.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def find_matching_template_files(directory : str, recurse = False, absolute = Fa

templates = {} # Dict maps node name to the template file name
if recurse:
for _, _, filenames in os.walk(directory):
for root, _, filenames in os.walk(directory):
for fn in filenames:
for n in classes:
if fn.startswith(n):
Expand Down