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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user