Python Indentation Bugs
Created by: giddenslee
I'm afraid it is unwise to mix tabs and spaces in some files, which may cause compatibility problem.
According to Python Docs
Tabs are replaced (from left to right) by one to eight spaces such that the total number of characters up to and including the replacement is a multiple of eight (this is intended to be the same rule as used by Unix). The total number of spaces preceding the first non-blank character then determines the line’s indentation. Indentation cannot be split over multiple physical lines using backslashes; the whitespace up to the first backslash determines the indentation.
reindent.py can fix this problem well. Here are some examples before and after modification. It is easy to see that the meaning of tab is unstable in different environment.
After modification, the installation performs well under my environment.