diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-03 13:54:14 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-11-14 15:23:41 -0700 |
commit | 7cbf02e94df820b77b53ae113828b294688bf623 (patch) | |
tree | 94427da3bd2e4b37c4180bfb4abcfa9140f62a69 /tools/patman/main.py | |
parent | 3145b63513552fc77f6584a89baf0966617eeadf (diff) |
patman: Allow specifying the patchwork URL
Add a new argument to allow the URL of the patchwork server to be
speciified. For now this is hard-coded in the main file, but future
patches will move it to the settings file.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/main.py')
-rwxr-xr-x | tools/patman/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patman/main.py b/tools/patman/main.py index e0e03a40a7..5f319eaa9b 100755 --- a/tools/patman/main.py +++ b/tools/patman/main.py @@ -179,7 +179,8 @@ elif args.cmd == 'status': try: control.patchwork_status(args.branch, args.count, args.start, args.end, args.dest_branch, args.force, - args.show_comments) + args.show_comments, + 'https://patchwork.ozlabs.org') except Exception as e: terminal.Print('patman: %s: %s' % (type(e).__name__, e), colour=terminal.Color.RED) |