commit:     9c0c186905469884f38801a2afaa1586b7ddd806
Author:     Sebastian Luther <SebastianLuther <AT> gmx <DOT> de>
AuthorDate: Sat Apr  5 20:43:52 2014 +0000
Commit:     Sebastian Luther <SebastianLuther <AT> gmx <DOT> de >
CommitDate: Sat Apr  5 20:43:52 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9c0c1869

Fix crash with @security (bug 488820)

---
 pym/portage/glsa.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py
index 834572a..1b19fb1 100644
--- a/pym/portage/glsa.py
+++ b/pym/portage/glsa.py
@@ -394,6 +394,7 @@ def getMinUpgrade(vulnerableList, unaffectedList, 
portdbapi, vardbapi, minimize=
                                update = c_pv[0]+"/"+c_pv[1]+"-"+c_pv[2]
                                if c_pv[3] != "r0":             # we don't like 
-r0 for display
                                        update += "-"+c_pv[3]
+                               update = portdbapi._pkg_str(update, None)
                vuln_update.append([vuln, update])
 
        return vuln_update

Reply via email to