Fix obsolete docstring for add_looping_task stable
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 12 Apr 2013 11:39:10 +0200
branchstable
changeset 8887 7920f439f383
parent 8886 bff36e86f74a
child 8889 be91151107f6
child 8890 57ffd0e0643d
Fix obsolete docstring for add_looping_task The docstring was telling lies since changeset cae198371548 "add_looping_task can be used any time"
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: