Merge "Wire in ConfKeyManager._generate_hex_key!"

This commit is contained in:
Jenkins
2013年09月16日 22:19:32 +00:00
committed by Gerrit Code Review

View File

@@ -55,11 +55,10 @@ class ConfKeyManager(single_key_mgr.SingleKeyManager):
"""
def __init__(self):
super(ConfKeyManager, self).__init__()
if CONF.keymgr.fixed_key is None:
raise ValueError(_('keymgr.fixed_key not defined'))
self._hex_key = CONF.keymgr.fixed_key
super(ConfKeyManager, self).__init__()
def _get_hex_key(self):
def _generate_hex_key(self, **kwargs):
return self._hex_key
Reference in New Issue
openstack/nova
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.