Skip to content

Commit

Permalink
Remove check for unconfigured case
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Nov 26, 2018
1 parent 8e6bdf2 commit 06eb989
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xiblint/rules/unavailable_custom_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class UnavailableCustomClasses(Rule):
"""
def check(self, context): # type: (Rule, xiblint.xibcontext.XibContext) -> None
unavailable_classes = self.config.get('custom_classes', {})
if not unavailable_classes:
return

for element in context.tree.findall('.//*[@customClass]'):
full_name = self._full_class_name(element)
Expand Down

0 comments on commit 06eb989

Please sign in to comment.