[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Minor correction for the get_info() pydocs
commit 9fddf70f2d1028dc6434ab866e010ca1fa53fb1d
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sat Dec 8 15:35:38 2012 -0800
Minor correction for the get_info() pydocs
The prior comment about when a stem.ProtocolError was raised was mostly right,
though it missed an important detail: our 'detection' for the geoip db being
unavailabe is based on repeated failures so the that exception likely *won't*
be raised for db unavailability.
---
stem/control.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stem/control.py b/stem/control.py
index c24fe2c..11eefb3 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -752,8 +752,8 @@ class Controller(BaseController):
provided a default response
* :class:`stem.InvalidArguments` if the 'params' requested was
invalid
- * :class:`stem.ProtocolError` if the geoip database is unavailable
- and the response is not in the cache
+ * :class:`stem.ProtocolError` if the geoip database is known to be
+ unavailable
"""
start_time = time.time()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits