Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
10466457
Commit
10466457
authored
May 30, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X fixup! X lib/zodb: zstor_2zurl: Explicitly reject MappingStorage
parent
206969bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/zodb.py
lib/zodb.py
+2
-2
No files found.
lib/zodb.py
View file @
10466457
...
...
@@ -373,9 +373,9 @@ def zstor_2zurl(zstor):
# MappingStorage:
if
ztype
==
"ZODB.MappingStorage.MappingStorage"
:
raise
ValueError
(
"%s is in-RAM storage
\
n
"
+
raise
ValueError
(
(
"%s is in-RAM storage
\
n
"
+
"
\
t
in-RAM storages are not supported:
\
n
"
+
"
\
t
a zurl pointing to in-RAM storage in one process would lead to
\
n
"
"
\
t
another in-RAM storage in WCFS process."
%
ztype
)
"
\
t
another in-RAM storage in WCFS process."
)
%
ztype
)
raise
NotImplementedError
(
"don't know how to extract zurl from %r"
%
zstor
)
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