summaryrefslogtreecommitdiff
path: root/morphlib/workspace.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-08-09 14:01:25 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-08-13 14:21:57 +0000
commitba76c590965932dd3af7093fbf33894c97290cf7 (patch)
tree3964c754b993a16d093f6c44628ddc9571cfa414 /morphlib/workspace.py
parent70f66833fc407d72e4bae53c50580d4066152761 (diff)
downloaddefinitions-ba76c590965932dd3af7093fbf33894c97290cf7.tar.gz
deploy: Always cleanup deploy tempdir on failure
When a configuration extension or write extension fails, then it should abort then, not continue to run other configuration extensions. There was a period where this didn't happen, due to a missing feature of cliapp that was assumed to be there, so failure to run these extensions was not noticed. This has since been fixed, but this would cause deploy to fail to clean up its temporary directories. Now it will cleanup the contents of the temporary directory after any failures after it has been created. A small amount of re-ordering was performed to make this easier.
Diffstat (limited to 'morphlib/workspace.py')
0 files changed, 0 insertions, 0 deletions