(experiment, knob)
Removes an experiment from the ManuallyDisabledExperiments knob.

  Args:
    experiment: str, the experiment name to remove.
    knob: str, the manual knob to modify
  Raises:
    PlistError: if the plist can't be modified.
Removes an experiment from the ManuallyDisabledExperiments knob.
Removes an experiment from the ManuallyDisabledExperiments knob .
def RemoveExperimentFromManualList(experiment, knob):
  """Removes an experiment from the ManuallyDisabledExperiments knob.

  Args:
    experiment: str, the experiment name to remove.
    knob: str, the manual knob to modify
  Raises:
    PlistError: if the plist can't be modified.
  """
  knobs = KNOBS.Knobs()
  if knob not in knobs:
    Output('%s list is empty, nothing to remove.' % knob)
  else:
    current_value = knobs.get(knob, [])
    if experiment in current_value:
      current_value.remove(experiment)
      Output('New value of %s is %s' % (knob, ','.join(current_value)))
      if not gmacpyutil.SetMachineInfoForKey(knob, ','.join(current_value)):
        raise PlistError('Problem writing to plist.')
    else:
      Output('%s is not in %s.' % (experiment, knob))
def RemoveExperimentFromManualList ( experiment , knob ) : knobs = KNOBS . Knobs ( ) if knob not in knobs : Output ( '%s list is empty, nothing to remove.' % knob ) else : current_value = knobs . get ( knob , [ ] ) if experiment in current_value : current_value . remove ( experiment ) Output ( 'New value of %s is %s' % ( knob , ',' . join ( current_value ) ) ) if not gmacpyutil . SetMachineInfoForKey ( knob , ',' . join ( current_value ) ) : raise PlistError ( 'Problem writing to plist.' ) else : Output ( '%s is not in %s.' % ( experiment , knob ) )