revert getMergeList to return CPVs again instead of atoms
authorMarius Mauch <genone@gentoo.org>
Fri, 9 Nov 2007 15:07:18 +0000 (15:07 -0000)
committerMarius Mauch <genone@gentoo.org>
Fri, 9 Nov 2007 15:07:18 +0000 (15:07 -0000)
svn path=/main/trunk/; revision=8477

pym/portage/glsa.py
pym/portage/sets/security.py

index 7e205d63a791d201db510c28834a282779a65ae9..91f719c8f0812b5543db390642e3ed20fde5204f 100644 (file)
@@ -590,4 +590,4 @@ class Glsa:
                                        self.portdbapi, self.vardbapi, minimize=least_change)
                                if update:
                                        rValue.append(update)
-               return ["="+x for x in rValue]
+               return rValue
index b5332699078e21a1db1b78d096ef2112a9d230d7..a172e6f8c06fdc203dcab2c9c2e08633342f62cd 100644 (file)
@@ -40,7 +40,7 @@ class SecuritySet(PackageSet):
                        myglsa = glsa.Glsa(glsaid, self._settings, self._vardbapi, self._portdbapi)
                        #print glsaid, myglsa.isVulnerable(), myglsa.isApplied(), myglsa.getMergeList()
                        if self.useGlsa(myglsa):
-                               atomlist += myglsa.getMergeList(least_change=self._least_change)
+                               atomlist += ["="+x for x in myglsa.getMergeList(least_change=self._least_change)]
                self._setAtoms(atomlist)
        
        def useGlsa(self, myglsa):