Fix the remaining pyflakes3/pep-8 issues

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>