diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Interpreter/embedded_interpreter.py')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Interpreter/embedded_interpreter.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lldb/source/Interpreter/embedded_interpreter.py b/contrib/llvm/tools/lldb/source/Interpreter/embedded_interpreter.py index bc0dd6d..51a9716 100644 --- a/contrib/llvm/tools/lldb/source/Interpreter/embedded_interpreter.py +++ b/contrib/llvm/tools/lldb/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__: |