comparison sat/plugins/plugin_misc_identity.py @ 3715:b9718216a1c0 0.9

merge bookmark 0.9
author Goffi <goffi@goffi.org>
date Wed, 01 Dec 2021 16:13:31 +0100
parents 888109774673
children 213e83a4ed10
comparison
equal deleted inserted replaced
3714:af09b5aaa5d7 3715:b9718216a1c0
140 client._identity_storage = persistent.LazyPersistentBinaryDict( 140 client._identity_storage = persistent.LazyPersistentBinaryDict(
141 "identity", client.profile) 141 "identity", client.profile)
142 142
143 stored_data = await client._identity_storage.all() 143 stored_data = await client._identity_storage.all()
144 144
145 self.host.memory.storage.getPrivates(
146 namespace="identity", binary=True, profile=client.profile)
147
148 to_delete = [] 145 to_delete = []
149 146
150 for key, value in stored_data.items(): 147 for key, value in stored_data.items():
151 entity_s, name = key.split('\n') 148 entity_s, name = key.split('\n')
152 if name not in self.metadata.keys(): 149 if name not in self.metadata.keys():