[bridgedb/develop] Use intervalStart() in b.e.autoresponder.createResponseBody().

commit 2ba3f7f912fdc45038741d1e1a1f4759ffe3ce52 Author: Matthew Finkel <sysrqb@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@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,
participants (1)
-
isis@torproject.org