def _strip_value(value, lookup='exact'):
 if (lookup == 'in'):
  stripped_value = [_strip_object(el) for el in value]
 else:
  stripped_value = _strip_object(value)
 return stripped_value

def _strip_value ( value , lookup = 'exact' ) : if ( lookup == 'in' ) : stripped_value = [ _strip_object ( el ) for el in value ] else : stripped_value = _strip_object ( value ) return stripped_value
helper function to remove the branch and version information from the given value .