def _get_repo_options_env(env):
 env_options = ''
 if (env is None):
  return env_options
 if (not isinstance(env, dict)):
  raise SaltInvocationError("'env' must be a Python dictionary")
 for (key, value) in env.items():
  if (key == 'OPTIONS'):
   env_options += '{0}\n'.format(value)
 return env_options

def _get_repo_options_env ( env ) : env_options = '' if ( env is None ) : return env_options if ( not isinstance ( env , dict ) ) : raise SaltInvocationError ( "'env' must be a Python dictionary" ) for ( key , value ) in env . items ( ) : if ( key == 'OPTIONS' ) : env_options += '{0}\n' . format ( value ) return env_options
get repo environment overrides dictionary to use in repo options process env a dictionary of variables to define the repository options example: .