etwist/server.py
changeset 8669 62213a34726e
parent 8465 12da4415aff0
child 8694 d901c36bcfce
--- a/etwist/server.py	Thu Jan 10 23:05:45 2013 +0100
+++ b/etwist/server.py	Mon Jan 21 18:01:25 2013 +0100
@@ -85,7 +85,7 @@
         config = self.config
         # when we have an in-memory repository, clean unused sessions every XX
         # seconds and properly shutdown the server
-        if config.repo_method == 'inmemory':
+        if config['repository-uri'] == 'inmemory://':
             if config.pyro_enabled():
                 # if pyro is enabled, we have to register to the pyro name
                 # server, create a pyro daemon, and create a task to handle pyro