##// END OF EJS Templates
Fix readline error message that should be only for win32. Closes #175
fperez -
Show More
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Magic functions for InteractiveShell.
2 """Magic functions for InteractiveShell.
3
3
4 $Id: Magic.py 2464 2007-06-27 23:03:07Z vivainio $"""
4 $Id: Magic.py 2569 2007-07-31 19:48:00Z fperez $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
@@ -2134,7 +2134,7 b' Currently the magic system has the following functions:\\n"""'
2134 print 'You must specify a color scheme.'
2134 print 'You must specify a color scheme.'
2135 return
2135 return
2136 import IPython.rlineimpl as readline
2136 import IPython.rlineimpl as readline
2137 if not readline.have_readline:
2137 if not readline.have_readline and sys.platform == "win32":
2138 msg = """\
2138 msg = """\
2139 Proper color support under MS Windows requires the pyreadline library.
2139 Proper color support under MS Windows requires the pyreadline library.
2140 You can find it at:
2140 You can find it at:
General Comments 0
You need to be logged in to leave comments. Login now