(self)
| 544 | logger.warning("Cannot read backup file: %s" % str(e)) |
| 545 | |
| 546 | def get_task_backup_stream(self): |
| 547 | self.write_backup_file() |
| 548 | zip_dir = self.task_path("") |
| 549 | paths = [{'n': os.path.relpath(os.path.join(dp, f), zip_dir), 'fs': os.path.join(dp, f)} for dp, dn, filenames in os.walk(zip_dir) for f in filenames] |
| 550 | return self.zip_stream(paths) |
| 551 | |
| 552 | def get_asset_file_or_stream(self, asset): |
| 553 | """ |
no test coverage detected