Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
8529f9ad
Commit
8529f9ad
authored
Jun 24, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless Python version check, gone entirely in 2.13
parent
9a31a165
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/Zope2/Startup/__init__.py
src/Zope2/Startup/__init__.py
+2
-7
No files found.
src/Zope2/Startup/__init__.py
View file @
8529f9ad
...
@@ -359,13 +359,8 @@ class UnixZopeStarter(ZopeStarter):
...
@@ -359,13 +359,8 @@ class UnixZopeStarter(ZopeStarter):
def
check_python_version
():
def
check_python_version
():
# check for Python version
# BBB removed in Zope 2.13
python_version
=
sys
.
version
.
split
()[
0
]
pass
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
):
def
dropPrivileges
(
cfg
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment