mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 09:48:56 +00:00
refer to the interface
This commit is contained in:
parent
9f9f45e331
commit
ad29e627cc
@ -428,10 +428,10 @@ class NativeStorageServer(service.MultiService):
|
||||
return self._rref
|
||||
|
||||
def get_storage_server(self):
|
||||
"""
|
||||
See ``IServer.get_storage_server``.
|
||||
"""
|
||||
if self._rref is None:
|
||||
# Somewhat questionable to create a third state (never connected,
|
||||
# connected, disconnected) but it mirrors the get_rref behavior so
|
||||
# we'll keep it for now.
|
||||
return None
|
||||
# Pass in an accessor for our _rref attribute. The value of the
|
||||
# attribute may change over time as connections are lost and
|
||||
|
Loading…
Reference in New Issue
Block a user