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
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
Nicolas Wavrant
ZODB
Commits
8466bdc9
Commit
8466bdc9
authored
Apr 24, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed trailing whitespace.
parent
c7cacdb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ZEO/__init__.py
src/ZEO/__init__.py
+4
-4
No files found.
src/ZEO/__init__.py
View file @
8466bdc9
...
@@ -44,7 +44,7 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
...
@@ -44,7 +44,7 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
path
path
A file-storage path. This argument is ignored if a storage
A file-storage path. This argument is ignored if a storage
configuration is supplied.
configuration is supplied.
blob_dir
blob_dir
A blob directory path. This argument is ignored if a storage
A blob directory path. This argument is ignored if a storage
configuration is supplied.
configuration is supplied.
...
@@ -57,12 +57,12 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
...
@@ -57,12 +57,12 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
zeo_conf
zeo_conf
A ZEO server configuration string.
A ZEO server configuration string.
port
port
If no ZEO configuration is supplied, the one will be computed
If no ZEO configuration is supplied, the one will be computed
from the port. If no port is supplied, one will be chosedn
from the port. If no port is supplied, one will be chosedn
randomly.
randomly.
"""
"""
import
os
,
ZEO
.
tests
.
forker
import
os
,
ZEO
.
tests
.
forker
if
storage_conf
is
None
and
path
is
None
:
if
storage_conf
is
None
and
path
is
None
:
...
@@ -77,4 +77,4 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
...
@@ -77,4 +77,4 @@ def server(path=None, blob_dir=None, storage_conf=None, zeo_conf=None,
def
stop_server
():
def
stop_server
():
ZEO
.
tests
.
forker
.
shutdown_zeo_server
(
admin
)
ZEO
.
tests
.
forker
.
shutdown_zeo_server
(
admin
)
os
.
waitpid
(
pid
,
0
)
os
.
waitpid
(
pid
,
0
)
return
addr
,
stop_server
return
addr
,
stop_server
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