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
e1af4ef1
Commit
e1af4ef1
authored
Nov 25, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the import ZODB.StorageConfig inside load_storage(), so ZODB
isn't imported by this module unless needed.
parent
a7475e50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/ZEO/runsvr.py
src/ZEO/runsvr.py
+1
-2
No files found.
src/ZEO/runsvr.py
View file @
e1af4ef1
...
@@ -43,8 +43,6 @@ import zLOG
...
@@ -43,8 +43,6 @@ import zLOG
import
ZConfig
import
ZConfig
import
ZConfig.Common
import
ZConfig.Common
import
ZODB.StorageConfig
class
Options
:
class
Options
:
...
@@ -273,6 +271,7 @@ class ZEOOptions(Options):
...
@@ -273,6 +271,7 @@ class ZEOOptions(Options):
return
return
storagesections
=
self
.
zeoconf
.
getChildSections
(
"Storage"
)
storagesections
=
self
.
zeoconf
.
getChildSections
(
"Storage"
)
self
.
storages
=
{}
self
.
storages
=
{}
import
ZODB.StorageConfig
for
section
in
storagesections
:
for
section
in
storagesections
:
name
=
section
.
name
name
=
section
.
name
if
not
name
:
if
not
name
:
...
...
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