dimagi/dimagi-utils — pull request #179 by dannyroberts (2014-02-12 17:08:43+00:00)
Title: add LockManager

Giovanni to review

to support both

```
obj, lock = Foo.get_locked_obj(id)
```

and

```
with Foo.get_locked_obj(id) as obj:
...
```

syntaxes