Remove our local zip file.
(self)
| 3167 | return settings_s |
| 3168 | |
| 3169 | def remove_local_zip(self): |
| 3170 | """ |
| 3171 | Remove our local zip file. |
| 3172 | """ |
| 3173 | |
| 3174 | if self.stage_config.get("delete_local_zip", True): |
| 3175 | try: |
| 3176 | if os.path.isfile(self.zip_path): |
| 3177 | os.remove(self.zip_path) |
| 3178 | if self.handler_path and os.path.isfile(self.handler_path): |
| 3179 | os.remove(self.handler_path) |
| 3180 | except Exception: # pragma: no cover |
| 3181 | sys.exit(-1) |
| 3182 | |
| 3183 | def remove_uploaded_zip(self): |
| 3184 | """ |