]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Minimize scope of try-except.
authorTommi Virtanen <tv@inktank.com>
Wed, 8 Aug 2012 21:45:49 +0000 (14:45 -0700)
committerTommi Virtanen <tv@inktank.com>
Wed, 8 Aug 2012 21:45:49 +0000 (14:45 -0700)
commit05007f7e0ffcb6d20927213385e6b8bfdbf8f9f2
tree1a89d83f649097dc029c54ac96deab9f8375576d
parent4b9e17626d1d801b91bb3618d52bfb10ce4ebd0b
Minimize scope of try-except.

os.write and list.append won't raise CalledProcessError, and now
we don't need to try to contain them for temp file clean up reasons.
teuthology/queue.py