def brick_get_encryptor(connection_info, *args, **kwargs):
 root_helper = get_root_helper()
 key_manager = keymgr.API(CONF)
 return encryptors.get_volume_encryptor(root_helper=root_helper, connection_info=connection_info, keymgr=key_manager, *args, **kwargs)

def brick_get_encryptor ( connection_info , * args , ** kwargs ) : root_helper = get_root_helper ( ) key_manager = keymgr . API ( CONF ) return encryptors . get_volume_encryptor ( root_helper = root_helper , connection_info = connection_info , keymgr = key_manager , * args , ** kwargs )
wrapper to get a brick encryptor object .