mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 11:16:41 +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
|
return self._rref
|
||||||
|
|
||||||
def get_storage_server(self):
|
def get_storage_server(self):
|
||||||
|
"""
|
||||||
|
See ``IServer.get_storage_server``.
|
||||||
|
"""
|
||||||
if self._rref is None:
|
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
|
return None
|
||||||
# Pass in an accessor for our _rref attribute. The value of the
|
# Pass in an accessor for our _rref attribute. The value of the
|
||||||
# attribute may change over time as connections are lost and
|
# attribute may change over time as connections are lost and
|
||||||
|
Loading…
Reference in New Issue
Block a user