/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: Andrew Bennetts
  • Date: 2008-11-20 10:30:56 UTC
  • mfrom: (3695.2.6 hpss-push-rpc)
  • mto: This revision was merged to the branch mainline in revision 3981.
  • Revision ID: andrew.bennetts@canonical.com-20081120103056-05g6c6nv30ceyxdx
Merge RemoteVersionedFiles class from hpss-push-rpc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1547
1547
 
1548
1548
class SmartMessageHandlerError(InternalBzrError):
1549
1549
 
1550
 
    _fmt = "The message handler raised an exception: %(exc_value)s."
 
1550
    _fmt = ("The message handler raised an exception:\n"
 
1551
            "%(traceback_text)s%(exc_value)s")
1551
1552
 
1552
1553
    def __init__(self, exc_info):
1553
 
        self.exc_type, self.exc_value, self.tb = exc_info
1554
 
        
 
1554
        import traceback
 
1555
        self.exc_type, self.exc_value, self.exc_tb = exc_info
 
1556
        self.exc_info = exc_info
 
1557
        self.traceback_text = ''.join(traceback.format_tb(self.exc_tb))
 
1558
 
1555
1559
 
1556
1560
# A set of semi-meaningful errors which can be thrown
1557
1561
class TransportNotPossible(TransportError):