cleanup: pep8 and pyflakes compliant

Change-Id: I00d02ac9cddb9d3314a458fdc118cb3b63fb1774
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>