chrome/test/mini_installer/registry_operations.py
def _RootKeyConstant(root_key):
    """Converts a root registry key string into a _winreg.HKEY_* constant."""
    if root_key not in _ROOT_KEY_MAPPING:
        raise KeyError("Unknown root registry key '%s'" % root_key)
    return _ROOT_KEY_MAPPING[root_key]
Converts a root registry key string into a _winreg.HKEY_* constant.
Converts a root registry key string into a _winreg.HKEY_* constant.
Converts a root registry key string into a _winreg . HKEY_ * constant .
def _RootKeyConstant(root_key):
    if root_key not in _ROOT_KEY_MAPPING:
        raise KeyError("Unknown root registry key '%s'" % root_key)
    return _ROOT_KEY_MAPPING[root_key]
def _RootKeyConstant ( root_key ) : if root_key not in _ROOT_KEY_MAPPING : raise KeyError ( "Unknown root registry key '%s'" % root_key ) return _ROOT_KEY_MAPPING [ root_key ]
Converts a root registry key string into a _winreg.HKEY_* constant.
Converts a root registry key string into a _winreg . HKEY_ * constant .
"""Converts a root registry key string into a _winreg.HKEY_* constant."""
root_key