rendered paste body=== modified file 'bzrlib/errors.py'
--- bzrlib/errors.py
+++ bzrlib/errors.py
@@ -710,14 +710,13 @@
self.format = format
-class TransportError(BzrError):
- """All errors thrown by Transport implementations should derive
- from this class.
- """
+class TransportError(BzrNewError):
+ """Transport error: %(msg)s"""
+
def __init__(self, msg=None, orig_error=None):
if msg is None and orig_error is not None:
msg = str(orig_error)
- BzrError.__init__(self, msg)
+ BzrNewError.__init__(self)
self.msg = msg
self.orig_error = orig_error