Pep8 and pyflakes fixes to sugar-activity