mirror of
https://github.com/git/git.git
synced 2026-04-07 23:40:12 +02:00
Add checks to Python scripts for version dependencies.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
18499ba694
commit
a33faf2827
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user