def create_dir_module(dname, d=None): if d is None: d = Directory() d.name = dname d.upToDate = True return d
def set_result(self, path): persistent_path = Directory() persistent_path.name = path persistent_path.setResult('value', self) persistent_path.upToDate = True self.setResult("value", persistent_path)