mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
fix for testing have readline
This commit is contained in:
parent
09c476dba9
commit
3d6fba5200
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue