abandon_stale: Use DETAILED_ACCOUNTS option
Without this option the change owner name is not included in the results, and is then displayed as "Unknown" in the log output. Change-Id: I995d1f8f303af968a6e31c68dee143b24150ec08
This commit is contained in:
@@ -152,7 +152,7 @@ def _main():
|
||||
query_terms += ["owner:%s" % options.owner]
|
||||
query = "%20".join(query_terms)
|
||||
while True:
|
||||
q = query + "&n=%d&S=%d" % (step, offset)
|
||||
q = query + "&o=DETAILED_ACCOUNTS&n=%d&S=%d" % (step, offset)
|
||||
logging.debug("Query: %s", q)
|
||||
url = "/changes/?q=" + q
|
||||
result = gerrit.get(url)
|
||||
|
Reference in New Issue
Block a user