'Returns the service key.'

def _GetKey(self):

    if (self._service_key is None):
        hive = getattr(_winreg, config.CONFIG['Nanny.service_key_hive'])
        path = config.CONFIG['Nanny.service_key']
        self._service_key = _winreg.CreateKeyEx(hive, path, 0, _winreg.KEY_ALL_ACCESS)
    return self._service_key
