fixing some stuff from previous commit
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1625 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -2372,7 +2372,8 @@ class etpDatabase:
|
||||
mydata = set()
|
||||
for data in results:
|
||||
pathfile = os.path.dirname(data[1])
|
||||
if pathfile in ldpaths:
|
||||
myfilename = os.path.basename(data[1])
|
||||
if (needed == myfilename) and (pathfile in ldpaths):
|
||||
mydata.add(data)
|
||||
|
||||
self.storeSearchCache(needed,'resolveNeeded',mydata)
|
||||
|
||||
@@ -11195,6 +11195,8 @@ class ServerInterface(TextInterface):
|
||||
deps_content |= dbconn.retrieveContent(match[0])
|
||||
key, slot = dbconn.retrieveKeySlot(match[0])
|
||||
dependencies_cache.add((key,slot))
|
||||
key, slot = dbconn.retrieveKeySlot(idpackage)
|
||||
dependencies_cache.add((key,slot))
|
||||
ldpaths = self.entropyTools.collectLinkerPaths()
|
||||
deps_content = set([x for x in deps_content if os.path.dirname(x) in ldpaths])
|
||||
print "neededs:",neededs
|
||||
|
||||
Reference in New Issue
Block a user