[Zope-Checkins] CVS: Releases/Zope - w_pcgi.py:1.8

Guido van Rossum guido@python.org
Thu, 14 Nov 2002 15:09:19 -0500


Update of /cvs-repository/Releases/Zope
In directory cvs.zope.org:/tmp/cvs-serv26846

Modified Files:
	w_pcgi.py 
Log Message:
Require Python 2.2.2 or later.


=== Releases/Zope/w_pcgi.py 1.7 => 1.8 ===
--- Releases/Zope/w_pcgi.py:1.7	Wed Aug 14 17:11:39 2002
+++ Releases/Zope/w_pcgi.py	Thu Nov 14 15:09:18 2002
@@ -13,11 +13,13 @@
 """Try to do all of the installation steps.
 
 This must be run from the top-level directory of the installation.
-(Yes, this is cheezy.  We'll fix this when we have a chance.
+Yes, this is cheesy.
 
 """
 
 import sys, os
+if not (sys.version >= "2.2" and sys.version_info >= (2, 2, 2)):
+    raise RuntimeError, "Python 2.2.2 or later is required"
 
 def setup(me):
     home=os.path.split(me)[0]