def vendors(self): """ load vendors modules from conf """ vendors_list = [] if not "vendors" in self.conf: return vendors_list for vendor_uri in self.conf.get('vendors'): obj = util.parse_uri(vendor_uri, "couchapp.vendor") vendors_list.append(obj) return vendors_list
def extensions(self): """ load extensions from conf """ extensions_list = [] if not "extensions" in self.conf: return extensions_list for extension_uri in self.conf.get('extensions'): obj = util.parse_uri(extension_uri, "couchapp.extension") extensions_list.append(obj) return extensions_list