--- a/etwist/server.py Tue Aug 04 00:54:41 2009 +0200
+++ b/etwist/server.py Tue Aug 04 14:49:05 2009 +0200
@@ -109,7 +109,7 @@
self.pyro_listen_timeout = 0.02
start_task(1, self.pyro_loop_event)
self.appli.repo.start_looping_tasks()
- self.url_rewriter = self.appli.vreg.select_object('components', 'urlrewriter')
+ self.url_rewriter = self.appli.vreg['components'].select_object('urlrewriter')
interval = min(config['cleanup-session-time'] or 120,
config['cleanup-anonymous-session-time'] or 720) / 2.
start_task(interval, self.appli.session_handler.clean_sessions)