

def execute(self, ns, repository_array):
    modified = []
    for repoid in repository_array:
        try:
            repo = software.get_repository(ns, repoid)
            software.set_repository_enabled(err, repo, enable=self.enable)
            modified.append(repoid)
        except errors.LmiFailed as err:
            LOG().warn(str(err))
    return modified

dataset/ETHPy150Open openlmi/openlmi-scripts/commands/software/lmi/scripts/software/cmd.py ChangeEnabledState.execute/VarMisuse@45/65 `ns`->`err`