summaryrefslogtreecommitdiffstats
path: root/scripts/qt
diff options
context:
space:
mode:
authorDaniel Smith <daniel.smith@qt.io>2023-05-30 16:06:09 +0200
committerDaniel Smith <daniel.smith@qt.io>2023-05-31 07:25:47 +0200
commitaed8ec401b4c7a9d4eb336565dd13c586550faaa (patch)
tree4fe080ed0d94202562540bd6d622c474c2694996 /scripts/qt
parentca8378ef079ec72fce1d397c534fef997ea60533 (diff)
Remove invalid status 'staging' from gerrit query
This seems to have been silently ignored by gerrit, but it now causes an error. Change-Id: I42b977943f5e279aaa411fc1140dcd321c942fd5 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Diffstat (limited to 'scripts/qt')
-rwxr-xr-xscripts/qt/branch_qt.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/qt/branch_qt.py b/scripts/qt/branch_qt.py
index e7cb7ceb..919d9b56 100755
--- a/scripts/qt/branch_qt.py
+++ b/scripts/qt/branch_qt.py
@@ -502,8 +502,7 @@ class QtBranching:
if self.direct:
# TODO: make this work for projects that don't have 'qt' as namespace
query = {
- "q": f"project:qt/{project} branch:{branch} "
- "(status:staging OR status:staged OR status:integrating)"
+ "q": f"project:qt/{project} branch:{branch} (status:staged OR status:integrating)"
}
response = requests.get(f"{GERRIT_REST_URL}/changes/", params=query)
response.raise_for_status()