commit e27be293650207a36ffc93746ad88614407462f3 Author: Isis Lovecruft isis@torproject.org Date: Sun Dec 28 12:26:53 2014 +0000
Fix method parameters for bridges.Bridge.nickname del().
* FIXES a bug where the del() method for the nickname property of a Bridge wanted a value, when del() should not need parameters (other than self). --- 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 5aa801e..f1bf6dc 100644 --- a/lib/bridgedb/bridges.py +++ b/lib/bridgedb/bridges.py @@ -512,7 +512,7 @@ class BridgeBase(BridgeAddressBase): self._nickname = value
@nickname.deleter - def nickname(self, value): + def nickname(self): """Reset this Bridge's nickname.""" self._nickname = None
tor-commits@lists.torproject.org