cwvreg.py
changeset 2705 30bcdbd92820
parent 2685 0518ca8f63e3
child 2760 30063071aee0
child 2770 356e9d7c356d
--- a/cwvreg.py	Wed Aug 05 17:33:40 2009 +0200
+++ b/cwvreg.py	Wed Aug 05 18:18:12 2009 +0200
@@ -305,12 +305,12 @@
         try:
             self._register_objects(path, force_reload)
         except RegistryOutOfDate:
-            CW_EVENT_MANAGER.emit('before-source-reload')
+            CW_EVENT_MANAGER.emit('before-registry-reload')
             # modification detected, reset and reload
             self.reset()
             cleanup_sys_modules(path)
             self._register_objects(path, force_reload)
-            CW_EVENT_MANAGER.emit('after-source-reload')
+            CW_EVENT_MANAGER.emit('after-registry-reload')
 
     def _register_objects(self, path, force_reload=None):
         """overriden to remove objects requiring a missing interface"""