rackerlabs/otter — pull request #480 by manishtomar (2013-11-22 00:26:39+00:00)
Title: Lock log fix

"Lock acquisition failed" log was coming everytime method inside `with_lock` failed. This was because `log_with_time` errback handler was added after invoking the method. Now, adding it immediately after calling `lock.acquire`. Also, rewrote all the tests to consider logs.