[2.0b5] In p.refresh.refresh, a temporary directory is not removed on failure

Bug #1587544 reported by Gavin Panella
6
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.mkdtemp(prefix='maas-commission-')
    ... lots of code ...
    shutil.rmtree(tmpdir)

Tags: tech-debt

Related branches

Gavin Panella (allenap)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.