clean cached objects before getting new ones
This commit is contained in:
parent
47232308a9
commit
de97d45c74
1 changed files with 2 additions and 0 deletions
|
|
@ -163,6 +163,8 @@ class Parceloob(ReplApplication):
|
||||||
"""
|
"""
|
||||||
backends = map(get_backend_name, self.enabled_backends)
|
backends = map(get_backend_name, self.enabled_backends)
|
||||||
self.start_format()
|
self.start_format()
|
||||||
|
# XXX cleaning of cached objects may be by start_format()?
|
||||||
|
self.objects = []
|
||||||
for id in self.storage.get('tracking', default=[]):
|
for id in self.storage.get('tracking', default=[]):
|
||||||
# It should be safe to do it here, since all objects in storage
|
# It should be safe to do it here, since all objects in storage
|
||||||
# are stored with the fullid
|
# are stored with the fullid
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue