From 33bf11737b8a771e1b92f6ec73c26a97fd56d9fe 2011-01-24 05:29:42 From: Brian Granger Date: 2011-01-24 05:29:42 Subject: [PATCH] Fixing sympy profile. --- diff --git a/IPython/config/profile/ipython_config_sympy.py b/IPython/config/profile/ipython_config_sympy.py index b687b45..e01308f 100644 --- a/IPython/config/profile/ipython_config_sympy.py +++ b/IPython/config/profile/ipython_config_sympy.py @@ -21,8 +21,9 @@ if hasattr(c.Global, 'exec_lines'): else: c.Global.exec_lines = [lines] +# Load the sympy_printing extension to enable nice printing of sympy expr's. if hasattr(c.Global, 'extensions'): - c.Global.extensions.append('IPython.extensions.sympy_printing') + c.Global.extensions.append('sympy_printing') else: - c.Global.extensions = ['IPython.extensions.sympy_printing'] + c.Global.extensions = ['sympy_printing']