Entropy/entropyTools:

- fix getRepositorySettings()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2253 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-07-06 17:22:50 +00:00
parent 71eb2d276a
commit b571cdad66
-4
View File
@@ -1742,10 +1742,6 @@ def getRepositorySettings(repoid):
if not etpRepositoriesExcluded.has_key(repoid):
raise
repodata = etpRepositoriesExcluded[repoid].copy()
repodata['repoid'] = repoid
# remove extra paths from database and packages
repodata['packages'] = [x[:-len("/"+etpConst['product'])] for x in repodata['packages']]
repodata['database'] = repodata['database'][:-len("/"+etpConst['product']+"/database/"+etpConst['currentarch'])]
return repodata
def writeOrderedRepositoriesEntries():