~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Patch Queue Manager
  • Date: 2011-10-06 08:34:03 UTC
  • mfrom: (6191.2.1 843900-url-nameerror)
  • Revision ID: pqm@pqm.ubuntu.com-20111006083403-jnsw0exlirg01aed
(mbp) error message without traceback on invalid ubuntu/debian url (bug
 843900) (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1666
1666
 
1667
1667
    def __init__(self, exc_info):
1668
1668
        import traceback
1669
 
        # GZ 2010-08-10: Cycle with exc_tb/exc_info affects at least one test
1670
1669
        self.exc_type, self.exc_value, self.exc_tb = exc_info
1671
1670
        self.exc_info = exc_info
1672
1671
        traceback_strings = traceback.format_exception(