def _get_deployment_flavor(conf):
    _register_paste_deploy_opts(conf)
    flavor = conf.paste_deploy.flavor
    return '' if not flavor else ('-' + flavor)
Retrieve the paste_deploy.flavor config item, formatted appropriately
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/common/config.py/_get_deployment_flavor