fix flake8 errors

Change-Id: Ia4e9dadf2c886b358da7b744557a0cc06b54c234
Signed-off-by: Joe Mills <joe@midokura.com>