Commit 345d7780 authored by Daniel Smith's avatar Daniel Smith

Fix fetching unmerged commit data for new gerrit update

parent f72d0316
......@@ -492,8 +492,8 @@ def lookupUnmergedCommit(revision, module):
for item in commitJSON["revisions"]:
if revision in item:
revision = item
url = commitJSON["revisions"][revision]["fetch"]["http"]["url"]
ref = commitJSON["revisions"][revision]["fetch"]["http"]["ref"]
url = commitJSON["revisions"][revision]["fetch"]["anonymous http"]["url"]
ref = commitJSON["revisions"][revision]["fetch"]["anonymous http"]["ref"]
print(f"ERROR: Unable to get ref fetch data for commit to test {revision}")
return False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment