[repo] typo stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 14 Aug 2009 15:34:00 +0200
branchstable
changeset 2848 9ecda5732d51
parent 2837 65df5df190a5
child 2849 297a4b5c6ce4
[repo] typo
server/repository.py
--- a/server/repository.py	Fri Aug 14 00:01:12 2009 +0200
+++ b/server/repository.py	Fri Aug 14 15:34:00 2009 +0200
@@ -228,7 +228,7 @@
             # register a task to cleanup expired session
             self.looping_task(self.config['session-time']/3.,
                               self.clean_sessions)
-        CW_EVENT_MANAGER.bind('after-registry-load', self.reset_hooks)
+        CW_EVENT_MANAGER.bind('after-registry-reload', self.reset_hooks)
 
     # internals ###############################################################
 
@@ -251,6 +251,7 @@
         self.reset_hooks()
 
     def reset_hooks(self):
+        print 'RESET HOOKS'
         self.hm.set_schema(self.schema)
         self.hm.register_system_hooks(self.config)
         # instance specific hooks