Log message for revision 113796:
  Removed outdated check_python_version function from startup process.
  

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/src/Zope2/Startup/__init__.py

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst  2010-06-24 14:10:52 UTC (rev 113795)
+++ Zope/trunk/doc/CHANGES.rst  2010-06-24 15:24:53 UTC (rev 113796)
@@ -11,6 +11,8 @@
 Restructuring
 +++++++++++++
 
+- Removed outdated check_python_version function from startup process.
+
 - ZPublisher: Removed 'Main' and 'Zope' wrappers for Test.publish.
   If anybody really used them, he can easily use ZPublisher.test instead. In
   the long run ZPublisher.test and ZPublisher.Test might also be removed.

Modified: Zope/trunk/src/Zope2/Startup/__init__.py
===================================================================
--- Zope/trunk/src/Zope2/Startup/__init__.py    2010-06-24 14:10:52 UTC (rev 
113795)
+++ Zope/trunk/src/Zope2/Startup/__init__.py    2010-06-24 15:24:53 UTC (rev 
113796)
@@ -31,7 +31,6 @@
 started = False
 
 def get_starter():
-    check_python_version()
     if sys.platform[:3].lower() == "win":
         return WindowsZopeStarter()
     else:
@@ -354,16 +353,6 @@
         self.setupConfiguredLoggers()
 
 
-def check_python_version():
-    # check for Python version
-    python_version = sys.version.split()[0]
-    optimum_version = '2.3.4'
-    if python_version < '2.3.4':
-        raise ZConfig.ConfigurationError(
-            'Invalid python version: %s, the optimal version is %s or higher' %
-            (python_version, optimum_version))
-
-
 def dropPrivileges(cfg):
     # Drop root privileges if we have them and we're on a posix platform.
     # This needs to be a function so it may be used outside of Zope

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to