From 89e5914079ec34785a61f7a36be6dd54ac7cedc6 2013-09-29 20:12:41 From: Matthias Bussonnier Date: 2013-09-29 20:12:41 Subject: [PATCH] Merge pull request #4300 from Carreau/fix-4299 Traits defauts should be strings not object --- diff --git a/IPython/nbconvert/exporters/exporter.py b/IPython/nbconvert/exporters/exporter.py index b1126b4..25330a2 100644 --- a/IPython/nbconvert/exporters/exporter.py +++ b/IPython/nbconvert/exporters/exporter.py @@ -62,13 +62,13 @@ class Exporter(LoggingConfigurable): _preprocessors = None - default_preprocessors = List([nbpreprocessors.coalesce_streams, - nbpreprocessors.SVG2PDFPreprocessor, - nbpreprocessors.ExtractOutputPreprocessor, - nbpreprocessors.CSSHTMLHeaderPreprocessor, - nbpreprocessors.RevealHelpPreprocessor, - nbpreprocessors.LatexPreprocessor, - nbpreprocessors.HighlightMagicsPreprocessor], + default_preprocessors = List(['IPython.nbconvert.preprocessors.coalesce_streams', + 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', + 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', + 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', + 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', + 'IPython.nbconvert.preprocessors.LatexPreprocessor', + 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'], config=True, help="""List of preprocessors available by default, by name, namespace, instance, or type.""")