From e4439e56193feef5e52ebcf110cfc848f5eb49ec Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Sat, 23 Sep 2017 17:04:21 -0500 Subject: [PATCH] Variable naming consistency. --- pytools/persistent_dict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytools/persistent_dict.py b/pytools/persistent_dict.py index b728c67..cb44d0a 100644 --- a/pytools/persistent_dict.py +++ b/pytools/persistent_dict.py @@ -701,7 +701,7 @@ class PersistentDict(_PersistentDictBase): # {{{ load key try: - stored_key = self._read(key_path) + read_key = self._read(key_path) except: item_dir_m.reset() from warnings import warn @@ -711,7 +711,7 @@ class PersistentDict(_PersistentDictBase): % (self.identifier, hexdigest_key)) raise NoSuchEntryError(key) - self._collision_check(key, stored_key) + self._collision_check(key, read_key) # }}} -- GitLab