Minor refactoring

This commit is contained in:
Miroslav Stampar
2012-08-21 10:28:25 +02:00
parent 7a8ace78f9
commit b7415d36df
3 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ class HashDB(object):
retVal = None
if key and (self._write_cache or os.path.isfile(self.filepath)):
hash_ = HashDB.hashKey(key)
retVal = self._write_cache.get(hash_, None)
retVal = self._write_cache.get(hash_)
if not retVal:
while True:
try: