[2.0b5] In p.refresh.refresh, a temporary directory is not removed on failure
Bug #1587544 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Gavin Panella |
Bug Description
In the following code:
tmpdir = tempfile.
... lots of code ...
shutil.
Related branches
lp:~allenap/maas/remove-temp-dir-after-refresh--bug-1587544
- Blake Rouse (community): Approve
-
Diff: 126 lines (+58/-16)2 files modifiedsrc/provisioningserver/refresh/__init__.py (+16/-16)
src/provisioningserver/refresh/tests/test_refresh.py (+42/-0)
summary: |
- In p.refresh.refresh, a temporary directory is not removed on failure + [2.0b5] In p.refresh.refresh, a temporary directory is not removed on + failure |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Gavin Panella (allenap) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.