Commit f3cac900 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor linting.

parent dde5c114
......@@ -681,7 +681,7 @@ class Definition(MObject):
def all_categories(self):
""" All categories of this definition and its categories. """
all_categories = list(self.categories)
for category in self.categories:
for category in self.categories: # pylint: disable=not-an-iterable
for super_category in category.all_categories:
all_categories.append(super_category)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment