mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 22:32:23 +00:00
don't need fallback
This commit is contained in:
parent
7322d8c0e6
commit
c27b330984
@ -772,8 +772,6 @@ class NonReconnector(object):
|
|||||||
def getReconnectionInfo(self):
|
def getReconnectionInfo(self):
|
||||||
return ReconnectionInfo()
|
return ReconnectionInfo()
|
||||||
|
|
||||||
_null_storage = _NullStorage()
|
|
||||||
|
|
||||||
|
|
||||||
class AnnouncementNotMatched(Exception):
|
class AnnouncementNotMatched(Exception):
|
||||||
"""
|
"""
|
||||||
@ -915,10 +913,11 @@ def _make_storage_system(
|
|||||||
storage_server,
|
storage_server,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Nothing matched so we can't talk to this server. If we have a
|
# Nothing matched so we can't talk to this server. (There should
|
||||||
# specific reason in "unmatched", use it; otherwise the generic
|
# not be a way to get here without this local being valid)
|
||||||
# one
|
assert unmatched is not None, "Expected unmatched plugin error"
|
||||||
return unmatched or _null_storage
|
return unmatched
|
||||||
|
|
||||||
|
|
||||||
@implementer(IServer)
|
@implementer(IServer)
|
||||||
class NativeStorageServer(service.MultiService):
|
class NativeStorageServer(service.MultiService):
|
||||||
|
Loading…
Reference in New Issue
Block a user