commit 874abad3fcb734e009b58f74f4872730de7c30e4 Author: Isis Lovecruft isis@torproject.org Date: Tue Jun 10 19:03:49 2014 +0000
Rename IBridgeRequest → IRequestBridges. It's cuter. --- lib/bridgedb/bridgerequest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/bridgerequest.py b/lib/bridgedb/bridgerequest.py index 0d7fb5a..7b2bfe9 100644 --- a/lib/bridgedb/bridgerequest.py +++ b/lib/bridgedb/bridgerequest.py @@ -22,7 +22,7 @@ from zope.interface import Interface from bridgedb import Filters
-class IBridgeRequest(Interface): +class IRequestBridges(Interface): """Interface specification of client options for requested bridges."""
addressClass = Attribute( @@ -69,7 +69,8 @@ class IBridgeRequest(Interface):
class BridgeRequestBase(object): """A generic base class for storing options of a client bridge request.""" - implements(IBridgeRequest) + + implements(IRequestBridges)
def __init__(self, addressClass=None): self.addressClass = addressClass
tor-commits@lists.torproject.org