def prepare(self): """ Prepare environment """ Environ.prepare(self) # Receive file from master return self.receiveFile()
def prepare(self): """ Prepare environment """ Environ.prepare(self) repo_path = self.getRepoPath() if os.path.isdir(repo_path): if not self.updateRepo(): return False else: if not self.cloneRepo(): return False return True