Commit 4ece4064 authored by Seblu's avatar Seblu
Browse files

Fix cache saving

A bug was introduced by sorting the cache content. Resulting of destroying
the cache object and replace it with a simple dict with no saving.
parent 68f121dd
......@@ -85,11 +85,12 @@ class VersionController(object):
def sort(self):
Sort packages and cache by name
Make packages to be treated (upgraded/displayed) by alpha order
Sort packages by name
Make packages to be upgraded/displayed by alpha order
self._packages = self.sort_dict(self._packages)
self._cache = self.sort_dict(self._cache)
# do not sort self._cache by recreating the cache object
# destructor is used to save the cache content
def sync(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment