clean cached objects before getting new ones

This commit is contained in:
Romain Bignon 2015-01-18 13:38:26 +01:00
commit de97d45c74

View file

@ -163,6 +163,8 @@ class Parceloob(ReplApplication):
"""
backends = map(get_backend_name, self.enabled_backends)
self.start_format()
# XXX cleaning of cached objects may be by start_format()?
self.objects = []
for id in self.storage.get('tracking', default=[]):
# It should be safe to do it here, since all objects in storage
# are stored with the fullid