Skip to content

Commit

Permalink
Fix a pylint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Sep 10, 2024
1 parent d63f386 commit 7ffe165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content_editor/contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ def contents_for_item(item, plugins, *, inherit_from=None, regions=None):
[item] + inherit_from, plugins=plugins, regions=regions
)
contents = all_contents[item]
for item in inherit_from:
contents.inherit_regions(all_contents[item])
for other in inherit_from:
contents.inherit_regions(all_contents[other])
return contents

0 comments on commit 7ffe165

Please sign in to comment.