def _get_deployment_flavor(flavor=None):
 if (not flavor):
  flavor = CONF.paste_deploy.flavor
 return ('' if (not flavor) else ('-' + flavor))

def _get_deployment_flavor ( flavor = None ) : if ( not flavor ) : flavor = CONF . paste_deploy . flavor return ( '' if ( not flavor ) else ( '-' + flavor ) )
retrieve the paste_deploy .