[tor-commits] [bridgedb/develop] Fix typo in directive.

2020-02-19 Thread phw
commit ec9f157a26af9962e80ae1f3e508c755d76ddc51
Author: Philipp Winter 
Date:   Wed Feb 12 12:32:14 2020 -0800

Fix typo in directive.

This fixes the following warning that showed up during installation:

warning: manifest_maker: MANIFEST.in, line 4: unknown action 
'recursice-include'
---
 MANIFEST.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MANIFEST.in b/MANIFEST.in
index bbe1e74..bb16c8c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,4 @@
 include versioneer.py
 include bridgedb/_version.py
 include requirements.txt
-recursice-include bridgedb/i18n *.po *.pot
+recursive-include bridgedb/i18n *.po *.pot



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo.

2019-06-07 Thread phw
commit ab5b09aa78fea5189e9bd4b28a053aa1894f6c28
Author: Philipp Winter 
Date:   Tue May 7 11:21:03 2019 -0700

Fix typo.
---
 bridgedb.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bridgedb.conf b/bridgedb.conf
index 7700917..b67a5e8 100644
--- a/bridgedb.conf
+++ b/bridgedb.conf
@@ -142,7 +142,7 @@ STATUS_FILE = "networkstatus-bridges"
 # we ignore all errors which have anything to do with networkstatus being
 # wrong, out-of-date, or missing.
 #
-# Otherwise, if ``True``, use the networkstatus to determine which bridges
+# Otherwise, if ``False``, use the networkstatus to determine which bridges
 # should be distributed.
 #
 # See https://bugs.torproject.org/9380#comment:39,



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in docstring.

2017-11-15 Thread isis
commit 5a09a99ba05412e8f08323a54abeb927c024c57e
Author: Isis Lovecruft 
Date:   Wed Nov 1 20:56:03 2017 +

Fix typo in docstring.
---
 bridgedb/distributors/https/server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bridgedb/distributors/https/server.py 
b/bridgedb/distributors/https/server.py
index 3e4284f..85a32b3 100644
--- a/bridgedb/distributors/https/server.py
+++ b/bridgedb/distributors/https/server.py
@@ -81,7 +81,7 @@ SERVER_PUBLIC_FQDN = None
 
 
 def setFQDN(fqdn, https=True):
-"""Set the global :data:`SERVER_PUBLIC FQDN` variable.
+"""Set the global :data:`SERVER_PUBLIC_FQDN` variable.
 
 :param str fqdn: The public, fully-qualified domain name of the HTTP
 server that will serve this resource.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in bridgedb.bridges.Bridge.__init__() docstring.

2015-06-02 Thread isis
commit a768c8463f4e359de4122a550daeaca06595cfad
Author: Isis Lovecruft i...@torproject.org
Date:   Tue May 12 08:52:31 2015 +

Fix typo in bridgedb.bridges.Bridge.__init__() docstring.
---
 lib/bridgedb/bridges.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
index e1c8738..0dfc4b1 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -821,7 +821,7 @@ class Bridge(BridgeBackwardsCompatibility):
 _checkServerDescriptorSignature = True
 
 def __init__(self, *args, **kwargs):
-Create a and store information for a new ``Bridge``.
+Create and store information for a new ``Bridge``.
 
 .. info: For backwards compatibility, `nickname`, `ip`, and `orport`
 must be the first, second, and third arguments, respectively.  The

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in README.

2015-03-25 Thread isis
commit 26b047dde968a6867f16d3dc5780c4ee577a2deb
Author: Isis Lovecruft i...@torproject.org
Date:   Wed Mar 25 02:37:17 2015 +

Fix typo in README.
---
 README.rst |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.rst b/README.rst
index eca8b42..3c8c1e3 100644
--- a/README.rst
+++ b/README.rst
@@ -398,7 +398,7 @@ Accessing the HTTPS User Interface
 --
 
 Just connect to the appropriate port. (See the ``HTTPS_PORT`` and
-``HTTP_UNENCRYPTED\_PORT`` options in the ``bridgedb.conf`` file.)
+``HTTP_UNENCRYPTED_PORT`` options in the ``bridgedb.conf`` file.)
 
 The HTTPS interface for our BridgeDB instance can be found `here
 https://bridges.torproject.org`__.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in Bridge.bandwidthObserved attribute name.

2015-02-18 Thread isis
commit abf0d2397220d93510a862396693f5afeb5c7262
Author: Isis Lovecruft i...@torproject.org
Date:   Thu Dec 11 03:49:06 2014 +

Fix typo in Bridge.bandwidthObserved attribute name.
---
 lib/bridgedb/bridges.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
index fae5d19..899a091 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -621,7 +621,7 @@ class Bridge(BridgeBackwardsCompatibility):
 self.bandwidth = None
 self.bandwidthAverage = None
 self.bandwidthBurst = None
-self.bandwidthObserverd = None
+self.bandwidthObserved = None
 
 self.contact = None
 self.family = None



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in bridgedb.qrcodes.generateQR().

2015-02-10 Thread isis
commit 99f3b3f978dbacdfdf45bca8d7a6339e03d94af1
Author: Isis Lovecruft i...@torproject.org
Date:   Tue Feb 10 04:26:56 2015 +

Fix typo in bridgedb.qrcodes.generateQR().
---
 lib/bridgedb/qrcodes.py |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/bridgedb/qrcodes.py b/lib/bridgedb/qrcodes.py
index 0aa1e8f..0b576e3 100644
--- a/lib/bridgedb/qrcodes.py
+++ b/lib/bridgedb/qrcodes.py
@@ -71,8 +71,7 @@ def generateQR(bridgelines, imageFormat=u'JPEG', 
bridgeSchema=False):
 except KeyError as error:
 logging.error(str(error))
 logging.debug((It seems python-imaging doesn't understand how to 
-   save in the %s format.) % imgFormat)
+   save in the %s format.) % imageFormat)
 except Exception as error:
 logging.error((There was an error while attempting to generate the 
QRCode: %s) % str(error))
-



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in inline code comment in bridgedb.Bucket module.

2014-08-20 Thread isis
commit 0181ced5c082b81e1675192da39ff221bcfa757f
Author: Isis Lovecruft i...@torproject.org
Date:   Wed Aug 20 05:29:27 2014 +

Fix typo in inline code comment in bridgedb.Bucket module.
---
 lib/bridgedb/Bucket.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/Bucket.py b/lib/bridgedb/Bucket.py
index a7d3706..fcc3794 100644
--- a/lib/bridgedb/Bucket.py
+++ b/lib/bridgedb/Bucket.py
@@ -47,7 +47,7 @@ class BucketData:
 def __init__(self, name, needed):
 self.name = name
 if needed == *:
-# Set to rediculously high number
+# Set to ridiculously high number
 needed = 100
 self.needed = int(needed)
 self.allocated = 0



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in IBridgeRequest.addressClass specification.

2014-05-14 Thread isis
commit a92433d9634a17321acf9a35f65200feaa0124cc
Author: Isis Lovecruft i...@torproject.org
Date:   Wed May 14 23:19:00 2014 +

Fix typo in IBridgeRequest.addressClass specification.

 * THANKS to sysrqb for pointing it out! (on the #5463 thread)
---
 lib/bridgedb/bridgerequest.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/bridgerequest.py b/lib/bridgedb/bridgerequest.py
index 4f32f67..0d7fb5a 100644
--- a/lib/bridgedb/bridgerequest.py
+++ b/lib/bridgedb/bridgerequest.py
@@ -26,7 +26,7 @@ class IBridgeRequest(Interface):
 Interface specification of client options for requested bridges.
 
 addressClass = Attribute(
-The IP version of bridges addresses to distribute to the client.)
+The IP version of bridge addresses to distribute to the client.)
 filters = Attribute(
 A list of callables used to filter bridges from a hashring.)
 transports = Attribute(



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in b.p.o.BaseOptions.findRundirAndConfigFile() docstring.

2014-04-22 Thread isis
commit c8b2da1b4ae8bb6ffe4a053704e4fc8c2fa8d0bd
Author: Isis Lovecruft i...@torproject.org
Date:   Tue Apr 22 23:18:34 2014 +

Fix typo in b.p.o.BaseOptions.findRundirAndConfigFile() docstring.
---
 lib/bridgedb/parse/options.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/parse/options.py b/lib/bridgedb/parse/options.py
index 3b1004d..5664460 100644
--- a/lib/bridgedb/parse/options.py
+++ b/lib/bridgedb/parse/options.py
@@ -174,8 +174,8 @@ class BaseOptions(usage.Options):
 
 @staticmethod
 def findRundirAndConfigFile(rundir=None, config=None):
-Find the abspath of the config file and runtime directory, or find
-suitable defaults.
+Find the absolute path of the config file and runtime directory, or
+find suitable defaults.
 
 Attempts to set the absolute path of the runtime directory. If the
 config path is relative, its absolute path is set relative to the



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in inline comment in HTTPServer.

2014-03-19 Thread isis
commit fa1a5612592b72da5630a6c7d00cb4c51602ab61
Author: Isis Lovecruft i...@torproject.org
Date:   Mon Mar 17 22:55:17 2014 +

Fix typo in inline comment in HTTPServer.
---
 lib/bridgedb/HTTPServer.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index 89989eb..2744193 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -68,7 +68,7 @@ try:
please install the geoip-database package.
% _geoipdb)
 # This is a pure python version which interacts with the Maxmind GeoIP
-# API (version 1). It require, in Debian, the libgeoip-dev and
+# API (version 1). It requires, in Debian, the libgeoip-dev and
 # geoip-database packages.
 import pygeoip
 geoip = pygeoip.GeoIP(_geoipdb, flags=pygeoip.MEMORY_CACHE)



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [bridgedb/develop] Fix typo in bridgedb.persistent module docstring.

2014-02-01 Thread isis
commit 7e030403a33a7f69f4b177a03a3fc1afcf7451fa
Author: Isis Lovecruft i...@torproject.org
Date:   Fri Jan 31 12:35:31 2014 +

Fix typo in bridgedb.persistent module docstring.
---
 lib/bridgedb/persistent.py |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/persistent.py b/lib/bridgedb/persistent.py
index 4429ea4..311240a 100644
--- a/lib/bridgedb/persistent.py
+++ b/lib/bridgedb/persistent.py
@@ -9,7 +9,7 @@
 # (c) 2007-2013, all entities within the AUTHORS file
 # :license: 3-clause BSD, see included LICENSE for information
 
-Module for functionality to persistently storing state.
+Module for functionality to persistently store state.
 
 import copy
 import logging



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits