diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-11 14:23:16 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-11-01 15:57:32 +0100 |
commit | b3fddd85377ed3ab2d0830a42b8667cd843b9d4d (patch) | |
tree | 87053212effa59162e568dae1ef431e07bbd2576 /bin | |
parent | e9920a67886a930c327776ad8f7736e214ea0e98 (diff) |
upload_symbols: Clarify parameters
Change-Id: Ia9034e18753541f15f29ea7d48f2334b0e50d538
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141221
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/upload_symbols.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/upload_symbols.py b/bin/upload_symbols.py index 537675102aa9..fc6a2d8c1c95 100755 --- a/bin/upload_symbols.py +++ b/bin/upload_symbols.py @@ -14,8 +14,8 @@ import requests def main(): parser = argparse.ArgumentParser() - parser.add_argument('symbols_dir') - parser.add_argument('config_dir') + parser.add_argument('symbols_zip_file') + parser.add_argument('credentials_file') parser.add_argument('version') group = parser.add_mutually_exclusive_group() group.add_argument('--system', action='store_true') @@ -27,12 +27,12 @@ def main(): login_url = base_url + "accounts/login/" config = configparser.ConfigParser() - config.read(args.config_dir) + config.read(args.credentials_file) user = config["CrashReport"]["User"] password = config["CrashReport"]["Password"] - files = {'symbols': open(args.symbols_dir, 'rb')} + files = {'symbols': open(args.symbols_zip_file, 'rb')} data = {'version': args.version, 'system': args.system, 'platform': platform.system() if args.platform is None else args.platform} |