Inside summarylist(), it's possible for myglsa.packages.keys() to contain
authorzmedico <zmedico@gentoo.org>
Sat, 21 Feb 2009 01:59:02 +0000 (01:59 -0000)
committerzmedico <zmedico@gentoo.org>
Sat, 21 Feb 2009 01:59:02 +0000 (01:59 -0000)
commitbc020c31c30d84e15954a26b7066cfdae7ff3064
tree3e62d01bcebebf918b6bbecf4085ea54207f9be6
parentac55331a1aa5deb34db50d78439fbec7a9cb05bc
Inside summarylist(), it's possible for myglsa.packages.keys() to contain
unicode objects, which trigger and exception like this:

File "//usr/lib64/portage/pym/portage/dep.py", line 535, in __init__
obj_setattr(self, x, getattr(s, x))
AttributeError: 'unicode' object has no attribute '__eq__'

To solve this problem, convert unicode objects to plain str before passing
them to the portage api. Thanks to Ned Ludd <solar@g.o> for reporting.

svn path=/; revision=548
trunk/src/glsa-check/glsa-check