# HG changeset patch # User Sylvain Thénault # Date 1285172622 -7200 # Node ID 9f03e3c32676f4c510c8e810c00d54488d74ec0e # Parent c151c730a1ac69cc95e106539942e534539149a6 cleanup diff -r c151c730a1ac -r 9f03e3c32676 req.py --- a/req.py Wed Sep 22 18:23:35 2010 +0200 +++ b/req.py Wed Sep 22 18:23:42 2010 +0200 @@ -15,9 +15,8 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""Base class for request/session +"""Base class for request/session""" -""" __docformat__ = "restructuredtext en" from warnings import warn diff -r c151c730a1ac -r 9f03e3c32676 server/sources/pyrorql.py --- 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