From 9f9f45e331c998345d9477b765af9b2716fea730 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 4 Jun 2019 10:13:07 -0400 Subject: [PATCH] warn away potential users --- src/allmydata/interfaces.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index d31f7e8ce..dee197ca2 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -538,7 +538,9 @@ class IServer(IDisplayableServer): pass def get_rref(): - """Once a server is connected, I return a RemoteReference. + """Obsolete. Use ``get_storage_server`` instead. + + Once a server is connected, I return a RemoteReference. Before a server is connected for the first time, I return None. Note that the rref I return will start producing DeadReferenceErrors