Code

Fix matching of incoming email addresses to the alternate_addresses
[roundup.git] / roundup / version_check.py
index 499ba610a457f961b928b64e8c286f806162caab..5f6f2be38aff7604182e253dc566ef39d9788660 100644 (file)
 # 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.4 2004-02-11 23:55:08 richard Exp $
+
+"""Enforces the minimum Python version that Roundup requires.
+"""
+__docformat__ = 'restructuredtext'
 
 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 $
-#
-#
 # vim: set filetype=python ts=4 sw=4 et si