[entropy.client] Client: fix method call in calculate_updates() and cache flushing

This commit is contained in:
Fabio Erculiani
2009-12-25 14:02:30 +01:00
parent 33ce02ebb9
commit e3e37a7d07

View File

@@ -1746,11 +1746,12 @@ class CalculatorsMixin:
update.append(matchresults)
if self.xcache:
c_hash = self.get_updates_cache_hash(db_digest, empty_deps,
c_hash = self._get_updates_cache_hash(db_digest, empty_deps,
ignore_spm_downgrades)
data = (update, remove, fine, spm_fine,)
self.Cacher.push("%s%s" % (etpCache['world_update'], c_hash,),
data, async = False)
self.Cacher.sync()
if not update:
# delete branch upgrade file if exists, since there are