Skip to content

Commit 7ffe165

Browse files
committed
Fix a pylint warning
1 parent d63f386 commit 7ffe165

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content_editor/contents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ def contents_for_item(item, plugins, *, inherit_from=None, regions=None):
7878
[item] + inherit_from, plugins=plugins, regions=regions
7979
)
8080
contents = all_contents[item]
81-
for item in inherit_from:
82-
contents.inherit_regions(all_contents[item])
81+
for other in inherit_from:
82+
contents.inherit_regions(all_contents[other])
8383
return contents

0 commit comments

Comments
 (0)