/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/counted_lock.py

  • Committer: Jelmer Vernooij
  • Date: 2019-05-29 03:28:14 UTC
  • mfrom: (7303 work)
  • mto: This revision was merged to the branch mainline in revision 7305.
  • Revision ID: jelmer@jelmer.uk-20190529032814-fzqbrgf9647u9ptq
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    This can be used with any object that provides a basic Lock interface,
30
30
    including LockDirs and OS file locks.
31
31
 
32
 
    :ivar _token: While a write lock is held, this is the token 
 
32
    :ivar _token: While a write lock is held, this is the token
33
33
        for it.
34
34
    """
35
35
 
81
81
 
82
82
        If the lock was originally acquired in read mode this will fail.
83
83
 
84
 
        :param token: If given and the lock is already held, 
 
84
        :param token: If given and the lock is already held,
85
85
            then validate that we already hold the real
86
86
            lock with this token.
87
87