[tor-commits] [bridgedb/master] HMAC isn't a logger, don't pass it args as if it is
asn at torproject.org
asn at torproject.org
Thu Jul 11 11:28:44 UTC 2013
commit 78ba1628bdc405d0f6b5698b78e2b682d43928d1
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date: Thu Jul 11 10:57:43 2013 +0000
HMAC isn't a logger, don't pass it args as if it is
Bug fix on #9237. Bug introduced in c0ee0d54
---
lib/bridgedb/Dist.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py
index 8ca8a73..aebb1f8 100644
--- a/lib/bridgedb/Dist.py
+++ b/lib/bridgedb/Dist.py
@@ -157,7 +157,7 @@ class IPBasedDistributor(bridgedb.Bridges.BridgeHolder):
n)
bridgeFilterRules.append(g)
logging.info("category<%s>%s", epoch, Util.logSafely(area))
- pos = self.areaOrderHmac("category<%s>%s", epoch, area)
+ pos = self.areaOrderHmac("category<%s>%s" % (epoch, area))
key1 = bridgedb.Bridges.get_hmac(self.splitter.key,
"Order-Bridges-In-Ring-%d"%n)
break;
More information about the tor-commits
mailing list