PEP8 - replaced tabs with spaces etc.