When i run glsa-check -t all or sudo glsa-check -t all i'm a warning with portage 2.2-rc2. Reproducible: Always
Created attachment 161226 [details] this is my emerge --info in attachment this is my output error : (shell)# sudo glsa-check -t all /usr/lib64/portage/pym/portage/__init__.py:2770: DeprecationWarning: portage.config.has_key() is deprecated, use the in operator instead DeprecationWarning) It's the same effect in root user.
The same effect with portage-2.2_rc3.
Created attachment 161305 [details, diff] glsa.py.232797.patch The following patch for /usr/lib/gentoolkit/pym/glsa.py appears to fix the problem. I'm pretty sure the patch is correct, but would like either genone or zmedico to confirm before I commit it to subversion.
Thanks for this patch.
Applicable to all arch.
$ svn commit -m "Fix has_key() deprecation message. (Bug #232797)" ChangeLog src/glsa-check/glsa.py Sending ChangeLog Sending src/glsa-check/glsa.py Transmitting file data .. Committed revision 509.
Released in gentoolkit-0.2.4_rc6