[tor-commits] [stem/master] Mention get_hidden_service_conf() in get_conf_map()

atagar at torproject.org atagar at torproject.org
Wed Oct 21 15:52:20 UTC 2015


commit 72fe9ff5299178a4597fdb4bfa28cf9f8c6ca35c
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Oct 21 08:51:37 2015 -0700

    Mention get_hidden_service_conf() in get_conf_map()
    
    Mentioning that there's another method that's preferable for fetching hidden
    service options...
    
      https://trac.torproject.org/projects/tor/ticket/17378
---
 stem/control.py |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/stem/control.py b/stem/control.py
index d9693cc..72f0552 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -2044,6 +2044,9 @@ class Controller(BaseController):
     **HiddenServiceOptions** was the only option that falls into the third
     category.
 
+    **Note:** HiddenServiceOptions are best retrieved via the
+    :func:`~stem.control.Controller.get_hidden_service_conf` method instead.
+
     :param str,list params: configuration option(s) to be queried
     :param object default: value for the mappings if the configuration option
       is either undefined or the query fails



More information about the tor-commits mailing list