[tor-commits] [stem/master] Fixing extend_circuit exception pydocs

atagar at torproject.org atagar at torproject.org
Wed Jan 23 17:17:57 UTC 2013


commit 2fe1e2a9ee709f745fb65d2716f6b42c7ba24b28
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Jan 23 09:16:24 2013 -0800

    Fixing extend_circuit exception pydocs
    
    Correcting a couple mistakes in extend_circuit's pydocs...
    
    /home/atagar/Desktop/stem/stem/control.py:
      docstring of stem.control.Controller.extend_circuit:30:
      ERROR: Unexpected indentation.
    
    /home/atagar/Desktop/stem/stem/control.py:
      docstring of stem.control.Controller.extend_circuit:31:
      WARNING: Block quote ends without a blank line; unexpected unindent.
---
 stem/__init__.py |    1 +
 stem/control.py  |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/stem/__init__.py b/stem/__init__.py
index a3ecf71..501d568 100644
--- a/stem/__init__.py
+++ b/stem/__init__.py
@@ -393,6 +393,7 @@ __all__ = [
   "ProtocolError",
   "OperationFailed",
   "UnsatisfiableRequest",
+  "CircuitExtensionFailed",
   "InvalidRequest",
   "InvalidArguments",
   "SocketError",
diff --git a/stem/control.py b/stem/control.py
index c7c8734..8708783 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -1701,10 +1701,10 @@ class Controller(BaseController):
     :returns: str of the circuit id of the created or extended circuit
 
     :raises:
-      :class:`stem.InvalidRequest` if one of the parameters were invalid
-      :class:`stem.CircuitExtensionFailed` if we were waiting for the circuit
+      * :class:`stem.InvalidRequest` if one of the parameters were invalid
+      * :class:`stem.CircuitExtensionFailed` if we were waiting for the circuit
         to build but it failed
-      :class:`stem.ControllerError` if the call fails
+      * :class:`stem.ControllerError` if the call fails
     """
 
     # Attaches a temporary listener for CIRC events if we'll be waiting for it



More information about the tor-commits mailing list