[tor-commits] [bridgedb/develop] Use intervalStart() in b.e.autoresponder.createResponseBody().
isis at torproject.org
isis at torproject.org
Tue Jul 22 22:58:48 UTC 2014
commit 2ba3f7f912fdc45038741d1e1a1f4759ffe3ce52
Author: Matthew Finkel <sysrqb at torproject.org>
Date: Sat Jul 19 03:14:04 2014 +0000
Use intervalStart() in b.e.autoresponder.createResponseBody().
* CHANGE `bridgedb.email.autoresponder.getResponseBody()` to use
`bridgedb.schedule.intervalStart()`, not `getInterval()`.
Signed-off-by: Isis Lovecruft <isis at torproject.org>
These were part of the hotfixes to ponticum on 2014-07-16.
---
lib/bridgedb/email/autoresponder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/email/autoresponder.py b/lib/bridgedb/email/autoresponder.py
index 240818a..add1d6c 100644
--- a/lib/bridgedb/email/autoresponder.py
+++ b/lib/bridgedb/email/autoresponder.py
@@ -75,7 +75,7 @@ def createResponseBody(lines, context, client, lang='en'):
% str(client))
# Otherwise they must have requested bridges:
- interval = context.schedule.getInterval(time.time())
+ interval = context.schedule.intervalStart(time.time())
bridges = context.distributor.getBridgesForEmail(
str(client),
interval,
More information about the tor-commits
mailing list