]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Reimplement the file locker as a context manager
authorZack Cerza <zack.cerza@inktank.com>
Wed, 6 Aug 2014 21:38:59 +0000 (15:38 -0600)
committerZack Cerza <zack.cerza@inktank.com>
Thu, 7 Aug 2014 17:13:42 +0000 (11:13 -0600)
commitf7d882c24e8eecddc1e2f4f188b38b1e07bf4f1d
treee69d4ece833f1b098ed2b21e94e6c7b5cf30df9e
parent14015af4758814522de83b4877a1e5b2b48eb396
Reimplement the file locker as a context manager

Also give it a 'noop' flag to enable its callers to optionally not use
locking.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/repo_utils.py