[Zope-Checkins] SVN: Zope/branches/2.12/src/Zope2/Startup/__init__.py Removed useless Python version check, gone entirely in 2.13
Hanno Schlichting
hannosch at hannosch.eu
Thu Jun 24 11:26:39 EDT 2010
Log message for revision 113797:
Removed useless Python version check, gone entirely in 2.13
Changed:
U Zope/branches/2.12/src/Zope2/Startup/__init__.py
-=-
Modified: Zope/branches/2.12/src/Zope2/Startup/__init__.py
===================================================================
--- Zope/branches/2.12/src/Zope2/Startup/__init__.py 2010-06-24 15:24:53 UTC (rev 113796)
+++ Zope/branches/2.12/src/Zope2/Startup/__init__.py 2010-06-24 15:26:38 UTC (rev 113797)
@@ -359,13 +359,8 @@
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))
+ # BBB removed in Zope 2.13
+ pass
def dropPrivileges(cfg):
More information about the Zope-Checkins
mailing list