Closed steils closed 4 years ago
Sorry for the mistake I made in the initial PR. Anyway, @LordAro @planetmaker could you please review and accept it?
Sorry, this repo doesn't (yet) have notifications set up in the same way as the other repos, so changes can get lost.
Why have you replaced indentation with tabs? Should be 4 spaces everywhere, surely?
@LordAro Didn't know about your coding style. Just saw a mix of tabs and spaces. Changed everything to tabs for consistensy (not 4 spaces because of habit). I'll change everything to 4 spaces, if it is a preferred style, of course.
Not exactly surprising, the rest of OTTD (C/C++) uses tabs, there was some overlap back in the old days.
These days it's PEP8 or GTFO ;)
Changed tabs to spaces, force-pushed
Also: For the Debian package, I would be interested in having this fixed in a release. Debian is planning to drop support for Python2, so I'd rather switch to Python3 soon to support the Python2-removal process.