llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) <details> <summary>Changes</summary> Fix bug in #<!-- -->183804. --- Full diff: https://github.com/llvm/llvm-project/pull/183868.diff 1 Files Affected: - (modified) lldb/examples/python/formatter_bytecode.py (+2-1) ``````````diff diff --git a/lldb/examples/python/formatter_bytecode.py b/lldb/examples/python/formatter_bytecode.py index bf4460fbe5976..abbd85d7a77b8 100644 --- a/lldb/examples/python/formatter_bytecode.py +++ b/lldb/examples/python/formatter_bytecode.py @@ -12,7 +12,8 @@ import os, sys path = os.path.abspath(os.path.dirname(__file__)) -sys.path.remove(path) +if path in sys.path: + sys.path.remove(path) import re import io `````````` </details> https://github.com/llvm/llvm-project/pull/183868 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
