Beispiel #1
0
 def catalogue_controller(self):
     controller = controllers.CatalogueController(self)
     if (self.conf.profiler.enabled
             and self.conf.profiler.trace_management_store):
         return profiler.trace_cls("mongodb_catalogue_"
                                   "controller")(controller)
     else:
         return controller
Beispiel #2
0
 def catalogue_controller(self):
     return controllers.CatalogueController(self)