mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 16:40:20 +00:00
lil fix
This commit is contained in:
parent
f1d98d3b70
commit
8acd2c01bc
1 changed files with 3 additions and 3 deletions
|
@ -217,10 +217,10 @@ class DualLookupCache(Generic[PKT, PVT, SKT]):
|
|||
key,
|
||||
)
|
||||
for primary_key in primary_key_set:
|
||||
logger.info("*** Popping entry from primary_dict: %s", primary_key)
|
||||
primary_value = self._primary_dict.pop(primary_key)
|
||||
logger.info("*** Popping entry from primary_dict: %s - %s", primary_key, primary_value)
|
||||
logger.info("*** primary_dict: %s", self._primary_dict)
|
||||
popped_primary_dict_values = self._primary_dict[primary_key]
|
||||
del self._primary_dict[primary_key]
|
||||
popped_primary_dict_values.append(primary_value)
|
||||
|
||||
# Now return the unmodified copy of the set.
|
||||
return popped_primary_dict_values
|
||||
|
|
Loading…
Reference in a new issue