~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-12-16 23:20:51 UTC
  • mfrom: (5573.1.1 merge_2.2_to_dev)
  • Revision ID: pqm@pqm.ubuntu.com-20101216232051-kv49ainzwdyjg92m
(gz) Merge 2.2 to bzr.dev to pick up fixes for lp:686611 and lp:687653
 (Martin [gz])

Show diffs side-by-side

added added

removed removed

Lines of Context:
713
713
       self.bzrdir = bzrdir
714
714
       PathError.__init__(self, path=path)
715
715
 
 
716
    def __repr__(self):
 
717
        return '<%s %r>' % (self.__class__.__name__, self.__dict__)
 
718
 
716
719
    def _format(self):
717
720
        # XXX: Ideally self.detail would be a property, but Exceptions in
718
721
        # Python 2.4 have to be old-style classes so properties don't work.