def SetLoop(self, loop):
    if self._loop:
      raise errors.ProgrammerError("Loop can only be set once")

    self._loop = loop
Sets the parent loop.
dataset/ETHPy150Open ganeti/ganeti/lib/masterd/instance.py/_DiskImportExportBase.SetLoop