The `build_stages` method short-circuits and returns early in case any of the stages fail to build and returns None for the tree, and build tree, therefore both of those can immediately cleaned up at that point. For this add a small helper `cleanup` that will call the cleanup method for all supplied arguments, after filtering out None values. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| api.py | ||
| buildroot.py | ||
| loop.py | ||
| objectstore.py | ||
| pipeline.py | ||
| remoteloop.py | ||
| sources.py | ||
| tmpfs.py | ||
| treesum.py | ||