]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Use tempfile.NamedTemporaryFile instead of mkstemp.
authorTommi Virtanen <tv@inktank.com>
Wed, 8 Aug 2012 21:44:47 +0000 (14:44 -0700)
committerTommi Virtanen <tv@inktank.com>
Wed, 8 Aug 2012 21:44:47 +0000 (14:44 -0700)
commit4b9e17626d1d801b91bb3618d52bfb10ce4ebd0b
tree1704a4b30d64a4aed94b8250a430108ec7ee6a55
parent3b85b2311b95dd665920c3b91ca5d74ba09ce08e
Use tempfile.NamedTemporaryFile instead of mkstemp.

Simpler code, no manual cleanup needed. We see a littering of
zero-length temp files from teuthology-worker, and this seems
like a likely source.
teuthology/queue.py