fix clientDbconn call in removePackage()
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@526 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -1050,9 +1050,11 @@ def removePackage(infoDict):
|
||||
# load content cache if found empty
|
||||
if etpConst['collisionprotect'] > 0:
|
||||
if (not contentCache):
|
||||
clientDbconn = openClientDatabase()
|
||||
xlist = clientDbconn.listAllFiles(clean = True)
|
||||
for x in xlist:
|
||||
contentCache[x] = 1
|
||||
closeClientDatabase(clientDbconn)
|
||||
|
||||
# remove from database
|
||||
if removeidpackage != -1:
|
||||
|
||||
Reference in New Issue
Block a user