def Exec(self, feedback_fn):
    """Sets the tag.

    """
    try:
      for tag in self.op.tags:
        self.target.AddTag(tag)
    except errors.TagError, err:
      raise errors.OpExecError(str(err) % "Error while setting tag: %s")
    self.cfg.Update(self.target, feedback_fn)
dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/tags.py/LUTagsSet.Exec/swapped operands of `%`