/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 bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-09 02:31:23 UTC
  • mfrom: (4090.2.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090309023123-7hvnfrilrt5ql771
compare types with is not '=' (Benjamin Peterson)

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
               )
155
155
 
156
156
    def __eq__(self, other):
157
 
        if self.__class__ != other.__class__:
 
157
        if self.__class__ is not other.__class__:
158
158
            return NotImplemented
159
159
        return self.__dict__ == other.__dict__
160
160