Skip to content

Commit

Permalink
Fix flake8 from complaining about W503
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed May 31, 2016
1 parent 70a7d32 commit cca63bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions property_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ def have_property(self, name, **options):
property_type = getattr(self.__class__, name, None)
if isinstance(property_type, property):
if options:
return all(getattr(property_type, n, None) == v
or n == 'repr' and v is True and getattr(property_type, n, None) is not False
return all(getattr(property_type, n, None) == v or
n == 'repr' and v is True and getattr(property_type, n, None) is not False
for n, v in options.items())
else:
return True
Expand Down

0 comments on commit cca63bc

Please sign in to comment.