saltstack/salt — pull request #10441 by SaveTheRbtz (2014-02-14 09:31:15+00:00)
Title: flopen improvements

* simplify flopen() code
* simplify flopen() usage
* make it unlock on __exit__()
* check that `lock` kwarg is True instead of that it exists