[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] HMAC isn't a logger, don't pass it args as if it is
commit 78ba1628bdc405d0f6b5698b78e2b682d43928d1
Author: Matthew Finkel <Matthew.Finkel@xxxxxxxxx>
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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits