summaryrefslogtreecommitdiffstats
path: root/pym/portage/sets/security.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/sets/security.py')
-rw-r--r--pym/portage/sets/security.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/pym/portage/sets/security.py b/pym/portage/sets/security.py
index d7db89d95..4827886a8 100644
--- a/pym/portage/sets/security.py
+++ b/pym/portage/sets/security.py
@@ -15,21 +15,15 @@ class SecuritySet(PackageSet):
self._vardbapi = vardbapi
self._portdbapi = portdbapi
- def loadCheckfile(self):
- self._appliedlist = grabfile(os.path.join(os.sep, self._settings["ROOT"], CACHE_PATH, "glsa"))
-
def load(self):
glsaindexlist = glsa.get_glsa_list(self._settings)
- nodelist = []
+ atomlist = []
for glsaid in glsaindexlist:
myglsa = glsa.Glsa(glsaid, self._settings, self._vardbapi, self._portdbapi)
#print glsaid, myglsa.isVulnerable(), myglsa.isApplied(), myglsa.getMergeList()
if self.useGlsa(myglsa):
- nodelist += myglsa.getMergeList(least_change=False)
- self._setNodes(nodelist)
-
- def useGlsaId(self, glsaid):
- return True
+ atomlist += myglsa.getMergeList(least_change=False)
+ self._setAtoms(atomlist)
def useGlsa(self, myglsa):
return True