Get rid of tabs and spaces mix

Signed-off-by: Michal Čihař <michal@cihar.com>
A bit of PEP-8

Signed-off-by: Michal Čihař <michal@cihar.com>