More pylint fixes.
Merge pull request #8493 from cro/gnomedesktop_pylint3

More pylint fixes.