def __init__(self, node, src=False):
     self.config = ConfigParser.ConfigParser()
     self.ar = node
     if (src):
         self.exchangeDir = tempfile.mkdtemp()
         confFile = support.arGet(self.ar, 'meta', self.exchangeDir)
         self.config.read(confFile)
 def __init__(self, node, src=False):
     self.config = ConfigParser.ConfigParser()
     self.ar = node
     if(src):
         self.exchangeDir = tempfile.mkdtemp()
         confFile = support.arGet(self.ar, 'meta', self.exchangeDir)
         self.config.read(confFile)
 def getMBR(self):
     return support.arGet(self.ar, 'MBR', self.exchangeDir)
    def getTarball(self, compress):
        self.exchangeFile = support.arGet(self.ar, "p" + str(self.number), \
                                          self.exchangeDir)

        return PartExchangeDescriptor(self.number, self.buildConfig(),
                                      self.exchangeFile)
    def getTarball(self, compress):
        self.exchangeFile = support.arGet(self.ar, "p" + str(self.number), \
                                          self.exchangeDir)

        return PartExchangeDescriptor(self.number, self.buildConfig(), self.exchangeFile)
 def getMBR(self):
     return support.arGet(self.ar, 'MBR', self.exchangeDir)