[PATCH 3/7] Allow svnrdump_sim.py to be used with Python 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This allows running the git-svn testsuite with Python 2.2.

Signed-off-by: Tom G. Christensen <tgc@xxxxxxxxxxxxxxx>
---
 contrib/svn-fe/svnrdump_sim.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/svn-fe/svnrdump_sim.py b/contrib/svn-fe/svnrdump_sim.py
index 11ac6f692..86bf4a742 100755
--- a/contrib/svn-fe/svnrdump_sim.py
+++ b/contrib/svn-fe/svnrdump_sim.py
@@ -8,9 +8,9 @@ to the highest revision that should be available.
 import sys
 import os
 
-if sys.hexversion < 0x02040000:
+if sys.hexversion < 0x02020000:
     # The limiter is the ValueError() calls. This may be too conservative
-    sys.stderr.write("svnrdump-sim.py: requires Python 2.4 or later.\n")
+    sys.stderr.write("svnrdump-sim.py: requires Python 2.2 or later.\n")
     sys.exit(1)
 
 
-- 
2.12.2




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]