mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-05 01:49:15 +00:00
Mark describe server method as static
This commit is contained in:
parent
80a26e26b1
commit
df9b160a3c
@ -449,7 +449,8 @@ class RootElement(Element):
|
||||
sb = self._client.get_storage_broker()
|
||||
return sorted(sb.get_known_servers(), key=lambda s: s.get_serverid())
|
||||
|
||||
def _describe_server(self, server):
|
||||
@staticmethod
|
||||
def _describe_server(server):
|
||||
"""Return a dict containing server stats."""
|
||||
peerid = server.get_longname()
|
||||
nickname = server.get_nickname()
|
||||
|
Loading…
x
Reference in New Issue
Block a user