Merge branch 'er/python-version-requirements'

Some python scripts we ship cannot be run with older versions of the
interpreter.

* er/python-version-requirements:
  Add checks to Python scripts for version dependencies.
This commit is contained in:
Junio C Hamano
2013-01-09 08:25:47 -08:00
8 changed files with 44 additions and 3 deletions

View File

@ -0,0 +1,5 @@
import sys
if sys.hexversion < 0x02040000:
# The limiter is the subprocess module
sys.stderr.write("git_remote_helpers: requires Python 2.4 or later.\n")
sys.exit(1)