def undo(self): if self.success: try: filesystem.rmtree(self.vcs_path) except Exception, e: conf.log.exception('Failed to remove version control directory: {0}'.format(self.vcs_path)) return False
def undo(self): try: filesystem.rmtree(self.env_path) except Exception: conf.log.exception('Failed to delete trac environment: {0}'.format(self.env_path)) return False return True
def undo(self): if os.path.exists(self.downloads_sys_path): try: filesystem.rmtree(self.downloads_sys_path) except Exception: conf.log.exception('Failed to remove project downloads') return False return True
def undo(self): if os.path.exists(self.dav_sys_path): try: filesystem.rmtree(self.dav_sys_path) except Exception: conf.log.exception('Failed to remove WebDAV folder') return False return True
def undo(self): if self.success: try: filesystem.rmtree(self.vcs_path) except: conf.log.exception('Failed to delete repository: {0}'.format(self.vcs_path)) return False return True
def undo(self): try: self.download_config.delete() except Exception: conf.log.exception("Exception. CreateFilesDownloads delete failed.") return False if os.path.exists(self.downloads_dir): try: filesystem.rmtree(self.downloads_dir) except Exception: conf.log.exception('Failed to remove project files downloads') return False return True