[tor-commits] [stem/master] Adding HS_DESC_CONTENT to EventType

atagar at torproject.org atagar at torproject.org
Sun Mar 15 18:36:46 UTC 2015


commit 858667a1452c7a2e87151bf83286107a3b5a002a
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Mar 15 11:36:51 2015 -0700

    Adding HS_DESC_CONTENT to EventType
    
    Issue caught by DonnchaC.
---
 stem/control.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/stem/control.py b/stem/control.py
index d0e09cc..68883d9 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -187,6 +187,7 @@ If you're fine with allowing your script to raise exceptions then this can be mo
   **ERR**               :class:`stem.response.events.LogEvent`
   **GUARD**             :class:`stem.response.events.GuardEvent`
   **HS_DESC**           :class:`stem.response.events.HSDescEvent`
+  **HS_DESC_CONTENT**   :class:`stem.response.events.HSDescContentEvent`
   **INFO**              :class:`stem.response.events.LogEvent`
   **NEWCONSENSUS**      :class:`stem.response.events.NewConsensusEvent`
   **NEWDESC**           :class:`stem.response.events.NewDescEvent`
@@ -277,6 +278,7 @@ EventType = stem.util.enum.UppercaseEnum(
   'ERR',
   'GUARD',
   'HS_DESC',
+  'HS_DESC_CONTENT',
   'INFO',
   'NEWCONSENSUS',
   'NEWDESC',



More information about the tor-commits mailing list