153 confClass = className
156 confClass = string.translate(confClass, _transtable)
158 confClassInfo = cfgDb.get(confClass)
159 if not confClassInfo:
160 confClassInfo = cfgDb.get(confClass)
162 confMod = confClassInfo
and confClassInfo.get(
'module')
164 log.warning(
"%s: Class %s not in database", requester, className)
168 mod = __import__(confMod, globals(), locals(), confClass)
170 log.warning(
"%s: Module %s not found (needed for configurable %s)",
171 requester, confMod, className)
175 confClass = getattr(mod, confClass)
176 except AttributeError:
177 log.warning(
"%s: Configurable %s not found in module %s",
178 requester, confClass, confMod)
181 log.debug(
"%s: Found configurable %s in module %s",
182 requester, confClass, confMod)
185 def getConfigurable(className, requester='', assumeCxxClass=True)