From 4416d90d77f114a142e8626a2247bc264d37a506 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 21 Feb 2018 13:55:29 +0900 Subject: [PATCH] abandon_stale.py: Exclude WIP changes Change-Id: Ib62aa783970e4d66ac37855bc0b2b92e0bf7f082 --- 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 8d1c32654b..3501b8be50 100755 --- a/contrib/abandon_stale.py +++ b/contrib/abandon_stale.py @@ -148,7 +148,7 @@ def _main(): if options.testmode: query_terms = ["status:new", "owner:self", "topic:test-abandon"] else: - query_terms = ["status:new", "age:%s" % options.age] + query_terms = ["status:new", "-is:wip", "age:%s" % options.age] if options.branches: query_terms += ["branch:%s" % b for b in options.branches] elif options.exclude_branches: