[tor-commits] [stem/master] Add ACTIVE and DORMANT signals

atagar at torproject.org atagar at torproject.org
Mon Dec 17 18:44:02 UTC 2018


commit b91a5c31abe574db813075448e4a8e94c1b592ed
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Dec 17 10:14:00 2018 -0800

    Add ACTIVE and DORMANT signals
    
    Oops! I noted these in the docs when they were added to the spec but I forgot
    to add them to the enumeration. With this the following 'new capabilitiy'
    notices are no longer noted after running our tests...
    
      [Signal] ACTIVE
      [Signal] DORMANT
---
 stem/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stem/__init__.py b/stem/__init__.py
index 57ce93a4..d07b40ba 100644
--- a/stem/__init__.py
+++ b/stem/__init__.py
@@ -744,6 +744,8 @@ Signal = stem.util.enum.UppercaseEnum(
   'NEWNYM',
   'CLEARDNSCACHE',
   'HEARTBEAT',
+  'ACTIVE',
+  'DORMANT',
 )
 
 CircStatus = stem.util.enum.UppercaseEnum(





More information about the tor-commits mailing list