[tor-commits] [bridgedb/master] 4056-cleanDatabase has wrong function name
arma at torproject.org
arma at torproject.org
Sat Oct 1 00:25:59 UTC 2011
commit fc8ec9789cd8d38d80448877f689ecf086cddf9f
Author: aagbsn <aagbsn at extc.org>
Date: Mon Sep 19 16:10:06 2011 -0700
4056-cleanDatabase has wrong function name
Call the correct function name.
cleanWarnedBridges() renamed to cleanWarnedEmails()
---
lib/bridgedb/Dist.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py
index 030c7fa..bbff9f1 100644
--- a/lib/bridgedb/Dist.py
+++ b/lib/bridgedb/Dist.py
@@ -296,7 +296,7 @@ class EmailBasedDistributor(bridgedb.Bridges.BridgeHolder):
db = bridgedb.Storage.getDB()
try:
db.cleanEmailedBridges(time.time()-MAX_EMAIL_RATE)
- db.cleanWarnedBridges(time.time()-MAX_EMAIL_RATE)
+ db.cleanWarnedEmails(time.time()-MAX_EMAIL_RATE)
except:
db.rollback()
raise
More information about the tor-commits
mailing list