First pass at removing pylint errors

Remove pylint errors in gnome desktop module.