some minor changes

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1184 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-02-11 20:15:24 +00:00
parent 84cbf8b409
commit 28f51eb4fa
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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
+3 -2
View File
@@ -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()