Skip to content

Commit

Permalink
Merge pull request ipython#5210 from minrk/pyreadline
Browse files Browse the repository at this point in the history
fix pyreadline import in rlineimpl
  • Loading branch information
minrk committed Feb 24, 2014
2 parents a43c719 + a57eb39 commit 5941b44
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions IPython/utils/rlineimpl.py
Expand Up @@ -13,8 +13,6 @@
import warnings

_rlmod_names = ['gnureadline', 'readline']
if sys.platform == 'win32' or sys.platform == 'cli':
_rlmod_names.append('pyreadline')

have_readline = False
for _rlmod_name in _rlmod_names:
Expand All @@ -29,7 +27,7 @@
have_readline = True
break

if _rlmod_name == 'pyreadline':
if sys.platform == 'win32' or sys.platform == 'cli':
try:
_outputfile=_rl.GetOutputFile()
except AttributeError:
Expand Down

0 comments on commit 5941b44

Please sign in to comment.