/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: Breezy landing bot
  • Author(s): Martin
  • Date: 2018-11-18 20:59:41 UTC
  • mfrom: (7195.3.1 lint_W601)
  • Revision ID: breezy.the.bot@gmail.com-20181118205941-ynykd2r0ax1tjco5
Remove use of dict.has_key() in fastimport plugin

Merged from https://code.launchpad.net/~gz/brz/lint_W601/+merge/358967

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Counted lock class"""
18
18
 
 
19
from __future__ import absolute_import
19
20
 
20
 
from bzrlib import (
 
21
from . import (
21
22
    errors,
22
23
    )
23
24
 
39
40
 
40
41
    def __repr__(self):
41
42
        return "%s(%r)" % (self.__class__.__name__,
42
 
            self._real_lock)
 
43
                           self._real_lock)
43
44
 
44
45
    def break_lock(self):
45
46
        self._real_lock.break_lock()