diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-02-21 01:55:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-02-21 01:55:27 +0000 |
commit | 3eaa2ce16e643816507068a7033c618425dd83c4 (patch) | |
tree | 31e3b5b71afd66e2489cf986a2c32b0752853c1e /bin/newexe | |
parent | ba97688a141e8a6de4139d81268758a7a2355dd0 (diff) | |
download | portage-3eaa2ce16e643816507068a7033c618425dd83c4.tar.gz portage-3eaa2ce16e643816507068a7033c618425dd83c4.tar.bz2 portage-3eaa2ce16e643816507068a7033c618425dd83c4.zip |
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.
svn path=/main/trunk/; revision=12667
Diffstat (limited to 'bin/newexe')
0 files changed, 0 insertions, 0 deletions