From b7e7885711b4df869099e2d0ca37d47f816865e6 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 29 Aug 2017 22:42:12 +0900 Subject: [PATCH] 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 --- contrib/abandon_stale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/abandon_stale.py b/contrib/abandon_stale.py index 9ac6b4bbcf..fb9eb12b7e 100755 --- a/contrib/abandon_stale.py +++ b/contrib/abandon_stale.py @@ -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)