~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/multiparent.py

  • Committer: Benjamin Peterson
  • Date: 2009-03-07 20:45:34 UTC
  • mto: (4090.2.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4094.
  • Revision ID: benjamin@python.org-20090307204534-5sxqxn5di37bquae
compare types with 'is' not ==

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
            ' %(num_lines)r)' % self.__dict__
291
291
 
292
292
    def __eq__(self, other):
293
 
        if self.__class__ != other.__class__:
 
293
        if self.__class__ is not other.__class__:
294
294
            return False
295
295
        return (self.__dict__ == other.__dict__)
296
296