Skip to content
Snippets Groups Projects
Commit de84310d authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Add debugging aid to PersistentDict key collision

parent 9c23644e
No related branches found
No related tags found
No related merge requests found
......@@ -375,6 +375,8 @@ class PersistentDict(object):
"indicative of a broken implementation "
"of equality comparison"
% (self.identifier, self.container_dir))
# This is here so we can debug the equality comparison
read_key == key
raise NoSuchEntryError(key)
logger.debug("%s: cache hit [key=%s]" % (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment