[tor-commits] [stem/master] Fill in docs regarding HS_DESC's new reason field

atagar at torproject.org atagar at torproject.org
Tue Oct 6 14:28:39 UTC 2015


commit bbb7099b8e9a839cb45bf7bd56b8ef65fe0afef5
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Oct 6 07:27:42 2015 -0700

    Fill in docs regarding HS_DESC's new reason field
    
    Filling in a couple of our pydoc fields with the update from...
    
      https://trac.torproject.org/projects/tor/ticket/17226
---
 stem/__init__.py        |    2 +-
 stem/response/events.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stem/__init__.py b/stem/__init__.py
index ece707a..273578a 100644
--- a/stem/__init__.py
+++ b/stem/__init__.py
@@ -426,7 +426,7 @@ Library for working with the tor process.
   **UPLOADED**    descriptor was uploaded with HSPOST
   **IGNORE**      fetched descriptor was ignored because we already have its v0 descriptor
   **FAILED**      we were unable to retrieve the descriptor
-  **CREATED**     unknown (:trac:`17226`)
+  **CREATED**     hidden service descriptor was just created
   =============== ===========
 
 .. data:: HSDescReason (enum)
diff --git a/stem/response/events.py b/stem/response/events.py
index 98eaa9c..81a1b4c 100644
--- a/stem/response/events.py
+++ b/stem/response/events.py
@@ -641,7 +641,7 @@ class HSDescEvent(Event):
   :var str directory_nickname: hidden service directory's nickname if it was provided
   :var str descriptor_id: descriptor identifier
   :var stem.HSDescReason reason: reason the descriptor failed to be fetched
-  :var int replica: unknown (:trac:`17226`)
+  :var int replica: replica number the descriptor involves
   """
 
   _VERSION_ADDED = stem.version.Requirement.EVENT_HS_DESC



More information about the tor-commits mailing list