diff options
author | Shawn O. Pearce <sop@google.com> | 2008-10-21 07:11:36 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2008-10-21 07:12:42 -0700 |
commit | 7542d664de7a9d42f64a81bc8c0b86bcbb384376 (patch) | |
tree | 9a991d3c21b9f38cbd08f3c7d5852db0c3db2b5a /main.py | |
parent | 0734600ce0f24016d190311621ea59649bc92bad (diff) | |
download | git-repo-7542d664de7a9d42f64a81bc8c0b86bcbb384376.tar.gz |
Remove the Python 2.4 dependency and use just 'python'v1.0.1
Many Linux distributions are including python2.5 by default, as
it is the latest stable release of the language. Using python2.4
(and asking users to specifically install it) is just cruel and
unusual punishment.
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ | |||
15 | # limitations under the License. | 15 | # limitations under the License. |
16 | 16 | ||
17 | magic='--calling-python-from-/bin/sh--' | 17 | magic='--calling-python-from-/bin/sh--' |
18 | """exec" python2.4 -E "$0" "$@" """#$magic" | 18 | """exec" python -E "$0" "$@" """#$magic" |
19 | if __name__ == '__main__': | 19 | if __name__ == '__main__': |
20 | import sys | 20 | import sys |
21 | if sys.argv[-1] == '#%s' % magic: | 21 | if sys.argv[-1] == '#%s' % magic: |