[tor-commits] [ooni-probe/master] Fix HostUnreachable docstring to have proper Sphinx formatting.

art at torproject.org art at torproject.org
Tue Apr 30 13:01:44 UTC 2013


commit 9cf3cbcfad9cc93cb85cc31e847859f5760ae97a
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon Apr 22 00:20:52 2013 +0000

    Fix HostUnreachable docstring to have proper Sphinx formatting.
---
 nettests/experimental/tls_handshake.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index e84ffb8..3ab9471 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -99,9 +99,10 @@ class HostUnreachable(Exception):
     pass
 
 class ConnectionTimeout(Exception):
-    """
-    Raised when we receive a :class:`socket.timeout`, in order to pass the
-    Exception along to :func:`connectionFailed`.
+    """Raised when we receive a :class:`socket.timeout <timeout>`, in order to
+    pass the Exception along to
+    :func:`TLSHandshakeTest.test_handshake.connectionFailed
+    <connectionFailed>`.
     """
     pass
 





More information about the tor-commits mailing list