[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] refer to control-spec.txt for lists of INFO and CONF names
Update of /home/or/cvsroot/control/python
In directory moria:/tmp/cvs-serv4364
Modified Files:
TorCtl1.py
Log Message:
refer to control-spec.txt for lists of INFO and CONF names
Index: TorCtl1.py
===================================================================
RCS file: /home/or/cvsroot/control/python/TorCtl1.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- TorCtl1.py 27 Sep 2005 17:36:38 -0000 1.6
+++ TorCtl1.py 11 Nov 2005 19:53:54 -0000 1.7
@@ -232,6 +232,7 @@
"""Get the value of the configuration option named 'name'. To
retrieve multiple values, pass a list for 'name' instead of
a string. Returns a list of (key,value) pairs.
+ Refer to section 3.3 of control-spec.txt for a list of valid names.
"""
if not isinstance(name, str):
name = " ".join(name)
@@ -271,7 +272,8 @@
self._sendAndRecv("RESETCONF %s\r\n"%(" ".join(keylist)))
def get_info(self, name):
- """Return the value of the internal information field named 'named'.
+ """Return the value of the internal information field named 'name'.
+ Refer to section 3.9 of control-spec.txt for a list of valid names.
DOCDOC
"""
if not isinstance(name, str):