Skip to content

Commit

Permalink
Fix incorrect docstring for coutryCode parameter in getBridgesForIP().
Browse files Browse the repository at this point in the history
  • Loading branch information
isislovecruft committed Mar 30, 2015
1 parent 5261334 commit c9362bf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/bridgedb/Dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,9 @@ def getBridgesForIP(self, ip, epoch, N=1, countryCode=None,
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`.
Expand Down

0 comments on commit c9362bf

Please sign in to comment.