Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zodb
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joshua
zodb
Commits
d7a5aa5f
Commit
d7a5aa5f
authored
Jan 09, 2003
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set the defaults for some options even if they weren't loaded from the
schema.
parent
0e5dee20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/ZEO/runsvr.py
src/ZEO/runsvr.py
+6
-0
No files found.
src/ZEO/runsvr.py
View file @
d7a5aa5f
...
@@ -213,6 +213,12 @@ class ZEOOptions(Options):
...
@@ -213,6 +213,12 @@ class ZEOOptions(Options):
if
self
.
args
:
if
self
.
args
:
self
.
usage
(
"positional arguments are not supported"
)
self
.
usage
(
"positional arguments are not supported"
)
# Set defaults for some options
if
self
.
read_only
is
None
:
self
.
read_only
=
0
if
self
.
invalidation_queue_size
is
None
:
self
.
invalidation_queue_size
=
100
def
load_configuration
(
self
):
def
load_configuration
(
self
):
Options
.
load_configuration
(
self
)
# Sets self.rootconf
Options
.
load_configuration
(
self
)
# Sets self.rootconf
if
not
self
.
rootconf
:
if
not
self
.
rootconf
:
...
...
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