PEP8 cleanups

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>