From: richard Date: Fri, 14 Dec 2001 21:34:06 +0000 (+0000) Subject: Fixed version_check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d1b4856ef998199279863ba421301089746da50e;p=roundup.git Fixed version_check git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@463 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/version_check.py b/roundup/version_check.py index 499ba61..8dfc68e 100644 --- a/roundup/version_check.py +++ b/roundup/version_check.py @@ -16,16 +16,20 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: version_check.py,v 1.1 2001-12-13 00:20:01 richard Exp $ +# $Id: version_check.py,v 1.2 2001-12-14 21:34:06 richard Exp $ import sys -if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1,1): +if not hasattr(sys, 'version_info') or sys.version_info[:3] < (2,1,1): print "Content-Type: text/plain\n" print "Roundup requires Python 2.1.1 or newer." sys.exit(0) # # $Log: not supported by cvs2svn $ +# Revision 1.1 2001/12/13 00:20:01 richard +# . Centralised the python version check code, bumped version to 2.1.1 (really +# needs to be 2.1.2, but that isn't released yet :) +# # # # vim: set filetype=python ts=4 sw=4 et si