python: PEP8 whitespace changes
- reindent the code to 4 spaces per indentation level, instead of tabs
- add extra whitespace after ',' or ':'
- remove extra spaces after '('/'(', and before ')'/']'
. remove trailing whitespaces
This commit is best viewed with 'git diff -w'.