From 28f51eb4fa1f26196b30a9acebb46f3f4386c2f5 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Mon, 11 Feb 2008 20:15:24 +0000 Subject: [PATCH] some minor changes git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1184 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- TODO | 2 +- libraries/entropy.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 452e8821d..a27521ff1 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,4 @@ TODO list: - - cache update instead of trashing each time, look for caches that can be kept if bound to specific checksums - split RDEPEND and PDEPEND - migrate server code to ServerInterface [] write a tool that helps keeping packages updated (also supporting injected ones) @@ -13,6 +12,7 @@ TODO list: Spritz: - handle config files updates interface (*) + - handle multi repos in "available" menu - add masking interface (*) - add branch switching menu (for upgrades) - wrap root password request diff --git a/libraries/entropy.py b/libraries/entropy.py index 05389d5e7..0fdd24fbc 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -223,9 +223,9 @@ class EquoInterface(TextInterface): if etpConst['uid'] == 0: for key in etpCache: cachefiles = [x for x in os.listdir(etpConst['dumpstoragedir']) if x.startswith(etpCache[key]) and x.endswith(".dmp")] + if showProgress: self.updateProgress(darkred("Cleaning %s*.dmp...") % (etpCache[key],), importance = 1, type = "warning", back = True) for item in cachefiles: item = os.path.join(etpConst['dumpstoragedir'],item) - if showProgress: self.updateProgress(darkred("Cleaning %s...") % (item,), importance = 1, type = "warning", back = True) if os.path.isfile(item): os.remove(item) @@ -3863,7 +3863,8 @@ class RepoInterface: red("Indexing Repository metadata ..."), importance = 1, type = "info", - header = "\t" + header = "\t", + back = True ) dbconn = self.Entropy.openRepositoryDatabase(repo) dbconn.createAllIndexes()