[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Add a docstring to bridgedb.Bridges.BridgeRing.setName().



commit e41a2acf1ddf3aa84584bd65511803bd7f1385ac
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Fri Nov 15 13:24:46 2013 +0000

    Add a docstring to bridgedb.Bridges.BridgeRing.setName().
---
 lib/bridgedb/Bridges.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index d77e632..a49da9f 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -730,7 +730,10 @@ class BridgeRing(BridgeHolder):
         self.setName("Ring")
 
     def setName(self, name):
-        """DOCDOC"""
+        """Tag a unique name to this hashring for identification.
+
+        :param string name: The name for this hashring.
+        """
         self.name = name
         for tp,val,_,subring in self.subrings:
             if tp == 'port':



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits