From 72c4e6cc05464ac36ae531d9f023ba151fee9d5e 2006-05-07 10:02:21 From: walter.doerwald Date: 2006-05-07 10:02:21 Subject: [PATCH] Fix exception formatting. --- diff --git a/IPython/Extensions/ipipe.py b/IPython/Extensions/ipipe.py index a077713..fe8878b 100644 --- a/IPython/Extensions/ipipe.py +++ b/IPython/Extensions/ipipe.py @@ -746,7 +746,7 @@ def xrepr(item, mode): if item.__class__.__module__ == "exceptions": classname = item.__class__.__name__ else: - classname = "%s.%s: %s" % \ + classname = "%s.%s" % \ (item.__class__.__module__, item.__class__.__name__) if mode == "header" or mode == "footer": yield (style_error, "%s: %s" % (classname, item))