First pass at removing pylint errors
Merge pull request #8490 from cro/gnomedesktop_pylint

First pass at removing pylint errors