
commit dba169f5cb3d28da29c7c2011ef5de7cc5825d37 Author: Damian Johnson <atagar@torproject.org> Date: Sat Feb 9 13:07:23 2013 -0800 Fixing SingleLineResponse interlinking The SingleLineResponse class wasn't in the module's __all__, causing it to not appear in the sphinx output. --- stem/response/__init__.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/stem/response/__init__.py b/stem/response/__init__.py index deff79c..c413530 100644 --- a/stem/response/__init__.py +++ b/stem/response/__init__.py @@ -22,6 +22,8 @@ Parses replies from the control socket. |- peek_key - provides the key of the next entry |- pop - removes and returns the next entry +- pop_mapping - removes and returns the next entry as a KEY=VALUE mapping + + SingleLineResponse - Simple tor response only including a single line of information. """ from __future__ import with_statement @@ -35,6 +37,7 @@ __all__ = [ "convert", "ControlMessage", "ControlLine", + "SingleLineResponse", ] import re @@ -72,7 +75,7 @@ def convert(response_type, message, **kwargs): **EVENT** :class:`stem.response.events.Event` subclass **PROTOCOLINFO** :class:`stem.response.protocolinfo.ProtocolInfoResponse` **AUTHCHALLENGE** :class:`stem.response.authchallenge.AuthChallengeResponse` - **SINGLELINE** :class:`stem.response.__init__.SingleLineResponse` + **SINGLELINE** :class:`stem.response.SingleLineResponse` =================== ===== :param str response_type: type of tor response to convert to