All pastes #75158 Raw Edit

Unnamed

public text v1 · immutable
#75158 ·published 2006-06-29 21:09 UTC
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 %(orig_error)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