/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: 2008-07-23 23:29:23 UTC
  • mfrom: (3533.3.5 remote-translate-error)
  • Revision ID: pqm@pqm.ubuntu.com-20080723232923-z04bd6zco9cpa3zv
Remote duplication of error translation in bzrlib/remote.py. (Andrew
        Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
               getattr(self, '_fmt', None),
136
136
               )
137
137
 
 
138
    def __eq__(self, other):
 
139
        if self.__class__ != other.__class__:
 
140
            return NotImplemented
 
141
        return self.__dict__ == other.__dict__
 
142
 
138
143
 
139
144
class InternalBzrError(BzrError):
140
145
    """Base class for errors that are internal in nature.