Update of /cvsroot/tmda/tmda/contrib/cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv26798
Modified Files:
compile
Log Message:
Grrrrr. Recent change doesn't work with Python 2.2.2. This patch should
fix that.
Index: compile
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/cgi/compile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- compile 17 Mar 2003 22:18:00 -0000 1.8
+++ compile 24 Mar 2003 20:18:05 -0000 1.9
@@ -134,7 +134,7 @@
Mode = "no-su"
# Check that we're running in Python version 2.1 or higher
-temp = re.search("^(\d+)\.(\d+)\s", sys.version)
+temp = re.search("^(\d+)\.(\d+)[\.\s]", sys.version)
major = int(temp.group(1))
minor = int(temp.group(2))
if (major < 2) or ((major == 2) and (minor < 1)):
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs