couchbase/couchbase-python-client — pull request #26 by rbaier (2014-07-09 12:41:42+00:00)
Title: fixed bug in code example of lock()

The code example in the comment of lock() didn't work. Without the 'break' the loop goes on and on and tries again to lock the key which will fail with TemporaryFailError.