goa/goavreg.py
changeset 2476 1294a6bdf3bf
parent 1977 606923dff11b
child 2650 18aec79ec3a3
--- a/goa/goavreg.py	Fri Jul 24 13:50:59 2009 +0200
+++ b/goa/goavreg.py	Fri Jul 24 14:33:37 2009 +0200
@@ -37,7 +37,7 @@
                             'cubicweb.goa.appobjects')
         for cube in reversed(self.config.cubes()):
             self.load_cube(cube)
-        self.load_application(applroot)
+        self.load_instance(applroot)
 
     def load_directory(self, directory, cube, skip=()):
         for filename in listdir(directory):
@@ -49,7 +49,7 @@
                         cube in self.config['included-cubes'],
                         cube)
 
-    def load_application(self, applroot):
+    def load_instance(self, applroot):
         self._auto_load(applroot, self.config['schema-type'] == 'dbmodel')
 
     def _import(self, modname):