[Zope-Checkins] CVS: Releases/Zope - wo_pcgi.py:1.27
Guido van Rossum
guido@python.org
Thu, 14 Nov 2002 15:09:09 -0500
Update of /cvs-repository/Releases/Zope
In directory cvs.zope.org:/tmp/cvs-serv26826
Modified Files:
wo_pcgi.py
Log Message:
Require Python 2.2.2 or later.
=== Releases/Zope/wo_pcgi.py 1.26 => 1.27 ===
--- Releases/Zope/wo_pcgi.py:1.26 Wed Nov 13 12:53:54 2002
+++ Releases/Zope/wo_pcgi.py Thu Nov 14 15:09:09 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]