def set_global_registry(registry, entry_point_group='_default'):
 global __GLOBAL_REGISTRY
 log.debug("'set_global_registry()' - setting registry.")
 __GLOBAL_REGISTRY[entry_point_group] = registry

def set_global_registry ( registry , entry_point_group = '_default' ) : global __GLOBAL_REGISTRY log . debug ( "'set_global_registry()' - setting registry." ) __GLOBAL_REGISTRY [ entry_point_group ] = registry
set the global widgetregistry instance for the entry point group .