cwvreg.py
branchstable
changeset 3638 648d6dbec630
parent 3316 c4c07aab1c39
child 3641 cf30e4498674
--- a/cwvreg.py	Mon Oct 12 12:20:51 2009 +0200
+++ b/cwvreg.py	Mon Oct 12 12:54:01 2009 +0200
@@ -337,7 +337,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.debug
         try:
             self._register_objects(path, force_reload)
         except RegistryOutOfDate: