]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: Use context manager with FileLock
authorAnirudha Bose <ani07nov@gmail.com>
Sat, 18 Jun 2016 23:40:27 +0000 (05:10 +0530)
committerLoic Dachary <ldachary@redhat.com>
Wed, 26 Oct 2016 09:29:40 +0000 (11:29 +0200)
commitf1c2de768535ce18259d4fc187cd370766c1e6cf
tree2b050212b83275676625b8635d1ff8aad4a710a3
parent26cb5b6bfbd6eee46bfa3cf005b1cd9f06b0e262
ceph-disk: Use context manager with FileLock

acquire and release methods of FileLock are dropped

Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
(cherry picked from commit c1011d514ce0c7d340a5acd6f9c640165e169156)
src/ceph-disk/ceph_disk/main.py