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
35292e92
Commit
35292e92
authored
Apr 03, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed deprecated ``read-only-database`` option from zope.conf.
parent
91b15361
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
21 deletions
+2
-21
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/Zope2/Startup/handlers.py
src/Zope2/Startup/handlers.py
+0
-11
src/Zope2/Startup/zopeschema.xml
src/Zope2/Startup/zopeschema.xml
+0
-10
No files found.
doc/CHANGES.rst
View file @
35292e92
...
@@ -11,6 +11,8 @@ Trunk (unreleased)
...
@@ -11,6 +11,8 @@ Trunk (unreleased)
Restructuring
Restructuring
+++++++++++++
+++++++++++++
-
Removed
deprecated
``
read
-
only
-
database
``
option
from
zope
.
conf
.
-
Updated
copyright
and
license
information
to
conform
with
repository
policy
.
-
Updated
copyright
and
license
information
to
conform
with
repository
policy
.
-
Moved
the
``
absoluteurl
``
views
into
the
OFS
package
.
-
Moved
the
``
absoluteurl
``
views
into
the
OFS
package
.
...
...
src/Zope2/Startup/handlers.py
View file @
35292e92
...
@@ -69,17 +69,6 @@ def database_quota_size(value):
...
@@ -69,17 +69,6 @@ def database_quota_size(value):
value
and
_setenv
(
'ZOPE_DATABASE_QUOTA'
,
value
)
value
and
_setenv
(
'ZOPE_DATABASE_QUOTA'
,
value
)
return
value
return
value
def
read_only_database
(
value
):
# This handler exists only for BBB: using the 'read-only-database'
# directive in a config file is deprecated.
if
value
is
not
None
:
import
warnings
warnings
.
warn
(
"The 'read-only-database' configuration option is "
"deprecated; please use the correct optoin inside the "
"section defining the appropriate storage."
,
DeprecationWarning
,
stacklevel
=
2
)
return
value
def
structured_text_header_level
(
value
):
def
structured_text_header_level
(
value
):
value
is
not
None
and
_setenv
(
'STX_DEFAULT_LEVEL'
,
value
)
value
is
not
None
and
_setenv
(
'STX_DEFAULT_LEVEL'
,
value
)
return
value
return
value
...
...
src/Zope2/Startup/zopeschema.xml
View file @
35292e92
...
@@ -784,16 +784,6 @@
...
@@ -784,16 +784,6 @@
<metadefault>
unset
</metadefault>
<metadefault>
unset
</metadefault>
</key>
</key>
<key
name=
"read-only-database"
datatype=
"boolean"
handler=
"read_only_database"
>
<description>
Deprecated option, no longer has any effect. To configure opening
storages in read-only mode: please use the appropriate flag in the
section which configures each storage.
</description>
<metadefault>
off
</metadefault>
</key>
<section
type=
"eventlog"
name=
"*"
attribute=
"eventlog"
>
<section
type=
"eventlog"
name=
"*"
attribute=
"eventlog"
>
<description>
<description>
Describes what level of log output is desired and where it
Describes what level of log output is desired and where it
...
...
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