/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/tests/test_counted_lock.py

  • Committer: Jelmer Vernooij
  • Date: 2020-03-22 01:35:14 UTC
  • mfrom: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200322013514-7vw1ntwho04rcuj3
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    def _assert_not_locked(self):
70
70
        if self._lock_mode:
71
71
            raise LockError("%s is already locked in mode %r" %
72
 
                (self, self._lock_mode))
 
72
                            (self, self._lock_mode))
73
73
 
74
74
    def validate_token(self, token):
75
75
        if token == 'token':