@classmethod
  def AssignUuid(cls, disk):
    if not disk in "uuid":
      disk["uuid"] = utils.io.NewUUID()
    if "children" in disk:
      for d in disk["children"]:
        cls.AssignUuid(d)
dataset/ETHPy150Open ganeti/ganeti/lib/tools/cfgupgrade.py/CfgUpgrade.AssignUuid/swapped operands of `in`