Reviewed: https://review.openstack.org/4615 Committed: http://github.com/openstack/nova/commit/f0d5df523b982ef1737dc0ee2e698b13041af64c Submitter: Jenkins Branch: master
commit f0d5df523b982ef1737dc0ee2e698b13041af64c Author: Johannes Erdfelt <email address hidden> Date: Tue Feb 28 05:54:48 2012 +0000
Add utils.tempdir() context manager for easy temp dirs
Fixes bug 883323 (and others)
Users of tempfile.mkdtemp() need to make sure the directory is cleaned up when it's done being used. Unfortunately, not all of the code does so at all, or safely (by using a try/finally block).
Change-Id: I270109d83efec4f8b3dd954021493f4d96c6ab79
Reviewed: https:/ /review. openstack. org/4615 github. com/openstack/ nova/commit/ f0d5df523b982ef 1737dc0ee2e698b 13041af64c
Committed: http://
Submitter: Jenkins
Branch: master
commit f0d5df523b982ef 1737dc0ee2e698b 13041af64c
Author: Johannes Erdfelt <email address hidden>
Date: Tue Feb 28 05:54:48 2012 +0000
Add utils.tempdir() context manager for easy temp dirs
Fixes bug 883323 (and others)
Users of tempfile.mkdtemp() need to make sure the directory is cleaned
up when it's done being used. Unfortunately, not all of the code does
so at all, or safely (by using a try/finally block).
Change-Id: I270109d83efec4 f8b3dd954021493 f4d96c6ab79