def RemoveOneFlag(flag_name, flag_values=FLAGS):
 if (flag_name in flag_values.FlagDict()):
  flag_values.__delattr__(flag_name)

def RemoveOneFlag ( flag_name , flag_values = FLAGS ) : if ( flag_name in flag_values . FlagDict ( ) ) : flag_values . __delattr__ ( flag_name )
removes the definition of one flag from gflags .