Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
a5df8621
Commit
a5df8621
authored
Apr 19, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the server function a tad more convenient by falling back to a
mapping storage when none is given.
parent
f074651a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/ZEO/__init__.py
src/ZEO/__init__.py
+1
-1
No files found.
src/ZEO/__init__.py
View file @
a5df8621
...
...
@@ -76,7 +76,7 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
"""
import
os
,
ZEO
.
tests
.
forker
if
storage_conf
is
None
and
path
is
None
:
raise
TypeError
(
"You must specify either a storage_conf or file path."
)
storage_conf
=
'<mappingstorage>
\
n
</mappingstorage>'
if
port
is
None
and
zeo_conf
is
None
:
port
=
ZEO
.
tests
.
forker
.
get_port
()
...
...
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