summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2013-01-26 19:14:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-01-27 03:00:03 (GMT)
commit598354c0ad4198daff279c34a96f42e4d91fb4e6 (patch)
tree02e6f8947cf8af3f89ee82172396765e1aab0c5c /INSTALL
parent5d417842efeafb6e109db7574196901c4e95d273 (diff)
downloadgit-598354c0ad4198daff279c34a96f42e4d91fb4e6.zip
git-598354c0ad4198daff279c34a96f42e4d91fb4e6.tar.gz
git-598354c0ad4198daff279c34a96f42e4d91fb4e6.tar.bz2
git-p4.py: support Python 2.5
Python 2.5 and older do not accept None as the first argument to translate() and complain with: TypeError: expected a character buffer object As suggested by Pete Wyckoff, let's just replace the call to translate() with a regex search which should be more clear and more portable. This allows git-p4 to be used with Python 2.5. Signed-off-by: Brandon Casey <bcasey@nvidia.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL2
1 files changed, 1 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 28f34bd..fc723b3 100644
--- a/INSTALL
+++ b/INSTALL
@@ -131,7 +131,7 @@ Issues of note:
use English. Under autoconf the configure script will do this
automatically if it can't find libintl on the system.
- - Python version 2.6 or later is needed to use the git-p4
+ - Python version 2.5 or later is needed to use the git-p4
interface to Perforce.
- Some platform specific issues are dealt with Makefile rules,