

def __init__(self, names, propagate_map_exceptions=False):
    'Initialise the resource handler by loading the plugins.\n\n        The ResourceHandler uses stevedore to load the resource plugins.\n        The handler can handle and report exceptions raised in the plugins\n        depending on the value of the propagate_map_exceptions parameter.\n        It is useful in testing to propagate exceptions so they are exposed\n        as part of the test. If exceptions are not propagated they are\n        logged at error level.\n\n        Any named plugins that are not located are logged.\n\n        :param names: the list of plugins to load by name\n        :param propagate_map_exceptions: True indicates exceptions in the\n        plugins should be raised, False indicates they should be handled and\n        logged.\n        '
    self._mgr = stevedore.NamedExtensionManager(namespace=RESOURCE_NAMESPACE, names=names, propagate_map_exceptions=propagate_map_exceptions, invoke_on_load=True)
    if names._mgr.names():
        LOG.warning(_LW('The Extensible Resource Tracker is deprecated and will be removed in the 14.0.0 release. If you use this functionality and have custom resources that are managed by the Extensible Resource Tracker, please contact the Nova development team by posting to the openstack-dev mailing list. There is no future planned support for the tracking of custom resources.'))
    self._log_missing_plugins(names)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/compute/resources/__init__.py ResourceHandler.__init__/VarMisuse@44/320 `self`->`names`