[tor-commits] [bridgedb/master] Fix incorrect docstring for coutryCode parameter in getBridgesForIP().

isis at torproject.org isis at torproject.org
Fri May 1 07:10:58 UTC 2015


commit c9362bfabbb2cdf0cf1af98d5e9d7c22827734a8
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon Mar 30 05:42:18 2015 +0000

    Fix incorrect docstring for coutryCode parameter in getBridgesForIP().
---
 lib/bridgedb/Dist.py |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py
index 9f730c0..a71d6bb 100644
--- a/lib/bridgedb/Dist.py
+++ b/lib/bridgedb/Dist.py
@@ -244,10 +244,9 @@ class IPBasedDistributor(Distributor):
                           period.
         :param int N: The number of bridges to try to give back. (default: 1)
         :param str countryCode: The two-letter geoip country code of the
-            client's IP address. If given, the client will be placed in that
-            "area". Clients within the same area receive the same bridges per
-            period. If not given, the **ip** is truncated to it's CIDR /24
-            representation and used as the "area". (default: None)
+            client's IP address. If given, it is assumed that any bridges
+            distributed to that client should not be blocked in that
+            country. (default: None)
         :param list bridgeFilterRules: A list of callables used filter the
                                        bridges returned in the response to the
                                        client. See :mod:`~bridgedb.Filters`.





More information about the tor-commits mailing list