findmissing: getopen: Fix get_change_id() call
Since commit 7f5b4fc66e ("findmissing: Do not push already abandoned
changes into Gerrit"), get_change_id has a branch parameter. Also,
it now returns more than one value.
BUG=b:176923589
TEST=Run robot
Change-Id: Ia09062ed2c4ce5afecaf4a9cf774548903e31024
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2637917
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Commit-Queue: Guenter Roeck <groeck@chromium.org>
Tested-by: Guenter Roeck <groeck@chromium.org>
diff --git a/contrib/findmissing/getopen.py b/contrib/findmissing/getopen.py
index 25a2002..24b30bf 100755
--- a/contrib/findmissing/getopen.py
+++ b/contrib/findmissing/getopen.py
@@ -160,7 +160,7 @@
print('Upstream commit %s ("%s")' % (fixedby_sha, fixedby_description))
- changeid = missing.get_change_id(db, fixedby_sha)
+ changeid, _ = missing.get_change_id(db, branch, fixedby_sha)
if changeid:
print(' CL:%s' % changeid)