def __init__(self, container, name, jobid): ReplacementManager.__init__(self, container, name) self.jobid = jobid try: os.makedirs("%s/jobs/%s/" % (STORAGE_ROOT, self.jobid)) except: if not os.path.exists("%s/jobs/%s/" % (STORAGE_ROOT, self.jobid)): raise self.iodevices = {}
def __init__(self, container, name): ReplacementManager.__init__(self, container, name) self.storage_directory = StringParameter(self, "storage directory")