diff options
author | Med Ismail Bennani <ismail@bennani.ma> | 2023-08-18 23:19:42 +0100 |
---|---|---|
committer | Med Ismail Bennani <ismail@bennani.ma> | 2023-08-18 23:29:40 +0100 |
commit | a3e6ac16ffc32e794da3f60150e903027f279f27 (patch) | |
tree | 41bcd9646be8399bfd59af832f7fcf672b4fc9b7 /lldb/examples/python/crashlog.py | |
parent | 4ab4e40fa2944bfd2ed44c63027e7a838043e0fd (diff) | |
download | llvm-a3e6ac16ffc32e794da3f60150e903027f279f27.zip llvm-a3e6ac16ffc32e794da3f60150e903027f279f27.tar.gz llvm-a3e6ac16ffc32e794da3f60150e903027f279f27.tar.bz2 |
[lldb/test] Fix TestSaveCrashlog.py following changes in eef5eadbe617
This patch fixes TestSaveCrashlog.py failure introduces by eef5eadbe617,
which restricts the number of positional argument for the output file to 1.
I expected to get the output file but `argparse` puts the object in a
list (even by constrained to a singled positional argument).
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'lldb/examples/python/crashlog.py')
-rwxr-xr-x | lldb/examples/python/crashlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py index 5f6b84f..efef430 100755 --- a/lldb/examples/python/crashlog.py +++ b/lldb/examples/python/crashlog.py @@ -1274,7 +1274,7 @@ def save_crashlog(debugger, command, exe_ctx, result, dict): return target = exe_ctx.target if target: - out_file = options.output + out_file = options.output[0] identifier = target.executable.basename process = exe_ctx.process if process: |