def remove_var(var):
 makeconf = _get_makeconf()
 old_value = get_var(var)
 if (old_value is not None):
  __salt__['file.sed'](makeconf, '^{0}=.*'.format(var), '')
 new_value = get_var(var)
 return {var: {'old': old_value, 'new': new_value}}

def remove_var ( var ) : makeconf = _get_makeconf ( ) old_value = get_var ( var ) if ( old_value is not None ) : __salt__ [ 'file.sed' ] ( makeconf , '^{0}=.*' . format ( var ) , '' ) new_value = get_var ( var ) return { var : { 'old' : old_value , 'new' : new_value } }
remove a variable from the make .