From 3d6fba5200ff4c1811f5618443693a99c3a4f79a Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Tue, 19 Jan 2016 11:49:19 -0500 Subject: [PATCH] fix for testing have readline --- xonsh/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonsh/shell.py b/xonsh/shell.py index b1e2a6410..ea0d18434 100644 --- a/xonsh/shell.py +++ b/xonsh/shell.py @@ -14,7 +14,7 @@ def is_readline_available(): try: import readline return True - except ImportError: + except Exception: # pyreadline will sometimes fail in strange ways return False