~amanica/bzr/320119-log_exclusive_lower_bound

« back to all changes in this revision

Viewing changes to bzrlib/tests/lock_helpers.py

  • Committer: Robert Collins
  • Date: 2009-04-15 07:30:34 UTC
  • mto: This revision was merged to the branch mainline in revision 4292.
  • Revision ID: robertc@robertcollins.net-20090415073034-plcl46p8poz08kzb
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
    def __eq__(self, other):
48
48
        # Branch objects look for controlfiles == repo.controlfiles.
49
 
        if type(other) == LockWrapper:
 
49
        if type(other) is LockWrapper:
50
50
            return self._other == other._other
51
51
        return False
52
52