Kallithea issues archive

Issue #145: Python version

Reported by: Gergelyk
State: resolved
Created on: 2015-07-20 20:26
Updated on: 2015-07-27 19:53

Description

Most of the files contain following header:

#!/usr/bin/env python

which some environments may resolve to python3 (as for example in ArchLinux). You may consider using

#!/usr/bin/env python2

instead. For consistency - you may also want to replace

#!/usr/bin/python

by the same header as mentioned before.

Attachments

Comments

Comment by Mads Kiilerich, on 2015-07-20 21:26

That seems reasonable. Do you want to contribute a patch?

Comment by Gergelyk, on 2015-07-20 21:48

Sure thing! I just cloned the repo and applied modification. Should I simply commit & push?

Comment by Mads Kiilerich, on 2015-07-20 22:08

http://docs.kallithea-scm.org/en/latest/contributing.html

You can contribute in whatever way you prefer. A pull request on bitbucket, mail it to the mailing list, or host it on our own instance and send a mail with a link to it.

Comment by Thomas De Schampheleire, on 2015-07-27 19:53

Fixed with commit 45ee73bdfa0310815d6be1392323765cd57ad8f7, thanks!