cwvreg.py
changeset 3674 387d51af966d
parent 3655 af86ab65a282
parent 3641 cf30e4498674
child 3720 5376aaadd16b
--- a/cwvreg.py	Tue Oct 13 18:21:24 2009 +0200
+++ b/cwvreg.py	Thu Oct 15 10:31:54 2009 +0200
@@ -344,7 +344,7 @@
     def register_objects(self, path, force_reload=None):
         """overriden to remove objects requiring a missing interface"""
         if force_reload is None:
-            force_reload = self.config.mode == 'dev'
+            force_reload = self.config.debugmode
         try:
             self._register_objects(path, force_reload)
         except RegistryOutOfDate: