[lldb/Scripting] Simplify code by removing the #if.
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 19 Dec 2019 00:42:07 +0000 (16:42 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 19 Dec 2019 00:46:38 +0000 (16:46 -0800)
commit56ab485a311d065f9417e0cff903e1f33495f4cc
tree466fcbdc23d995aef79a476203870b966a6821ac
parent07b8f8e5f5cad9c4d92c39a4bea50e21e9f0e9f1
[lldb/Scripting] Simplify code by removing the #if.

The "none" script interpreter does not depend on Python so it doesn't
make sense to have it withing the if-block. The only goal seems to be to
have a slightly different error for when there's no script interpreter,
but as per the comment this doesn't make sense for more than one
scripting language. I think the existing error is perfectly clear, so I
just removed this altogether.
lldb/source/Interpreter/CommandObjectScript.cpp