Skip to content

Commit

Permalink
prefer "not in"
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Mar 24, 2015
1 parent 656c894 commit 4f624b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundlewrap/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def cached_property(prop):
def cache_wrapper(self):
if not hasattr(self, "_cache"):
self._cache = {}
if not prop.__name__ in self._cache:
if prop.__name__ not in self._cache:
return_value = prop(self)
if isgenerator(return_value):
return_value = tuple(return_value)
Expand Down

0 comments on commit 4f624b9

Please sign in to comment.