commit 7bd8f90d91226fe046fea15fe128614d669cb505 Author: Isis Lovecruft isis@torproject.org Date: Thu Apr 30 05:54:51 2015 +0000
Document descriptor parameter in Bridge.updateFromNetworkStatus(). --- lib/bridgedb/bridges.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py index 5c0afd8..93b9fe9 100644 --- a/lib/bridgedb/bridges.py +++ b/lib/bridgedb/bridges.py @@ -1381,10 +1381,11 @@ class Bridge(BridgeBackwardsCompatibility):
def updateFromNetworkStatus(self, descriptor): """Update this bridge's attributes from a parsed networkstatus - descriptor. + document.
- :type ns: :api:`stem.descriptors.router_status_entry.RouterStatusEntry` - :param ns: + :type descriptor: + :api:`stem.descriptors.router_status_entry.RouterStatusEntry` + :param descriptor: The networkstatus document for this bridge. """ self.descriptors['networkstatus'] = descriptor
tor-commits@lists.torproject.org