diff options
author | Stuart Bishop <stuart@stuartbishop.net> | 2013-10-01 21:55:52 +0700 |
---|---|---|
committer | Stuart Bishop <stuart@stuartbishop.net> | 2013-10-01 21:55:52 +0700 |
commit | 01f456ce395cc445f8ce8616caee4883ad5bc292 (patch) | |
tree | 0893bea001144ea2bd7c3fc60c8421f42f28547d /src | |
parent | 6bd8c8fcd58653e4cdb714f9a9cf7d08a75bc1eb (diff) | |
download | pytz-01f456ce395cc445f8ce8616caee4883ad5bc292.tar.gz |
Typo, causing LazyDict to fail if __contains__() invoked before other methods
Diffstat (limited to 'src')
-rw-r--r-- | src/pytz/lazy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pytz/lazy.py b/src/pytz/lazy.py index d706b24..d839ff0 100644 --- a/src/pytz/lazy.py +++ b/src/pytz/lazy.py @@ -30,7 +30,7 @@ class LazyDict(DictMixin): if self.data is None: self._fill() finally: - _fill_lock_release() + _fill_lock.release() return key in self.data def __iter__(self): |