server/sources/pyrorql.py
branchstable
changeset 6309 9f03e3c32676
parent 6130 15fa8425b6e7
child 6427 c8a5ac2d1eaa
--- a/server/sources/pyrorql.py	Wed Sep 22 18:23:35 2010 +0200
+++ b/server/sources/pyrorql.py	Wed Sep 22 18:23:42 2010 +0200
@@ -197,7 +197,8 @@
         """method called by the repository once ready to handle request"""
         interval = int(self.config.get('synchronization-interval', 5*60))
         self.repo.looping_task(interval, self.synchronize)
-        self.repo.looping_task(self._query_cache.ttl.seconds/10, self._query_cache.clear_expired)
+        self.repo.looping_task(self._query_cache.ttl.seconds/10,
+                               self._query_cache.clear_expired)
 
     def synchronize(self, mtime=None):
         """synchronize content known by this repository with content in the