mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 10:01:54 +00:00
Make items into list, just in case someone tries to merge object into itself.
This commit is contained in:
parent
cc7a3bc2b5
commit
eb787ae540
@ -24,7 +24,7 @@ class DictOfSets(dict):
|
||||
self[key] = set([value])
|
||||
|
||||
def update(self, otherdictofsets):
|
||||
for key, values in otherdictofsets.items():
|
||||
for key, values in list(otherdictofsets.items()):
|
||||
if key in self:
|
||||
self[key].update(values)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user