

def _SetProperty(self, name, value):
    'Set the apps:property value with the given name to the given value.\n\n    Args:\n      name: string Name of the apps:property value to set.\n      value: string Value to give the apps:property value with the given name.\n    '
    for i in range(len(self.property)):
        if (self.property[self].name == name):
            self.property[i].value = value
            return
    self.property.append(gdata.apps_property.AppsProperty(name=name, value=value))

dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/calendar_resource/data.py CalendarResourceEntry._SetProperty/VarMisuse@37/128 `i`->`self`