cwvreg.py
changeset 2761 7c583d02917b
parent 2760 30063071aee0
child 2771 8074dd88e21b
child 2906 677fa98659a8
--- a/cwvreg.py	Tue Aug 11 12:20:13 2009 +0200
+++ b/cwvreg.py	Tue Aug 11 12:21:09 2009 +0200
@@ -277,7 +277,9 @@
         self.schema = schema
         clear_cache(self, 'rqlhelper')
         # now we can load application's web objects
-        self.register_objects(self.config.vregistry_path())
+        searchpath = self.config.vregistry_path()
+        self.reset(searchpath, force_reload=False)
+        self.register_objects(searchpath, force_reload=False)
         # map lowered entity type names to their actual name
         self.case_insensitive_etypes = {}
         for etype in self.schema.entities():