summaryrefslogtreecommitdiff
path: root/source/Interpreter/embedded_interpreter.py
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2014-11-25 21:00:58 +0000
committerEd Maste <emaste@FreeBSD.org>2014-11-25 21:00:58 +0000
commit0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch)
treec94307da318be46e5aeea1a325c1e91749506e4f /source/Interpreter/embedded_interpreter.py
parent03b99097822ca3ac69252d9afae716a584ed56c4 (diff)
Notes
Diffstat (limited to 'source/Interpreter/embedded_interpreter.py')
-rw-r--r--source/Interpreter/embedded_interpreter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Interpreter/embedded_interpreter.py b/source/Interpreter/embedded_interpreter.py
index bc0dd6d5ae4f9..51a971690d670 100644
--- a/source/Interpreter/embedded_interpreter.py
+++ b/source/Interpreter/embedded_interpreter.py
@@ -9,6 +9,10 @@ try:
import rlcompleter
except ImportError:
have_readline = False
+except AttributeError:
+ # This exception gets hit by the rlcompleter when Linux is using
+ # the readline suppression import.
+ have_readline = False
else:
have_readline = True
if 'libedit' in readline.__doc__: