# HG changeset patch # User Julien Cristau # Date 1365759550 -7200 # Node ID 7920f439f383200b7a7832dded3aeb03fc516cf3 # Parent bff36e86f74a87e36e8ca242945f207bd88964fa Fix obsolete docstring for add_looping_task The docstring was telling lies since changeset cae198371548 "add_looping_task can be used any time" diff -r bff36e86f74a -r 7920f439f383 server/utils.py --- a/server/utils.py Thu Apr 11 10:32:00 2013 +0200 +++ b/server/utils.py Fri Apr 12 11:39:10 2013 +0200 @@ -219,9 +219,6 @@ def add_looping_task(self, interval, func, *args): """register a function to be called every `interval` seconds. - - looping tasks can only be registered during repository initialization, - once done this method will fail. """ task = LoopTask(self, interval, func, args) if self.running: