Commit 10466457 authored by Kirill Smelkov's avatar Kirill Smelkov

X fixup! X lib/zodb: zstor_2zurl: Explicitly reject MappingStorage

parent 206969bb
...@@ -373,9 +373,9 @@ def zstor_2zurl(zstor): ...@@ -373,9 +373,9 @@ def zstor_2zurl(zstor):
# MappingStorage: # MappingStorage:
if ztype == "ZODB.MappingStorage.MappingStorage": if ztype == "ZODB.MappingStorage.MappingStorage":
raise ValueError("%s is in-RAM storage\n" + raise ValueError(("%s is in-RAM storage\n" +
"\tin-RAM storages are not supported:\n" + "\tin-RAM storages are not supported:\n" +
"\ta zurl pointing to in-RAM storage in one process would lead to\n" "\ta zurl pointing to in-RAM storage in one process would lead to\n"
"\tanother in-RAM storage in WCFS process." % ztype) "\tanother in-RAM storage in WCFS process.") % ztype)
raise NotImplementedError("don't know how to extract zurl from %r" % zstor) raise NotImplementedError("don't know how to extract zurl from %r" % zstor)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment