tools/cr/cr/plugin.py
def ChainModuleConfigs(module):
  """Detects and connects the default Config objects from a module."""
  for config_root in CONFIG_TYPES:
    if hasattr(module, config_root.name):
      config = getattr(module, config_root.name)
      config.name = module.__name__
      config_root.AddChild(config)
Detects and connects the default Config objects from a module.
Detects and connects the default Config objects from a module.
Detects and connects the default Config objects from a module .
def ChainModuleConfigs(module):
  for config_root in CONFIG_TYPES:
    if hasattr(module, config_root.name):
      config = getattr(module, config_root.name)
      config.name = module.__name__
      config_root.AddChild(config)
def ChainModuleConfigs ( module ) : for config_root in CONFIG_TYPES : if hasattr ( module , config_root . name ) : config = getattr ( module , config_root . name ) config . name = module . __name__ config_root . AddChild ( config )
Detects and connects the default Config objects from a module.
Detects and connects the default Config objects from a module .
"""Detects and connects the default Config objects from a module."""
module