PEP8 cleanup of commands.py