From 692766041225a5ed30324a8b03a808cc8c493c53 2012-06-14 21:46:46 From: MinRK Date: 2012-06-14 21:46:46 Subject: [PATCH] add missing Normal on NoColors closes #1963 --- diff --git a/IPython/utils/coloransi.py b/IPython/utils/coloransi.py index 89633c0..7997ff1 100644 --- a/IPython/utils/coloransi.py +++ b/IPython/utils/coloransi.py @@ -102,6 +102,7 @@ class NoColors: """This defines all the same names as the colour classes, but maps them to empty strings, so it can easily be substituted to turn off colours.""" NoColor = '' + Normal = '' for name, value in color_templates: setattr(NoColors, name, '')