abandon_stale.py: Exclude WIP changes

Change-Id: Ib62aa783970e4d66ac37855bc0b2b92e0bf7f082
This commit is contained in:
David Pursehouse
2018-02-21 13:55:29 +09:00
parent 8e37310ced
commit 4416d90d77

View File

@@ -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: