abandon_stale.py: fix typo in option handling

Change-Id: I8950cd26fa852a394b1984e52b0f74092d6f8db5
This commit is contained in:
David Pursehouse 2016-02-15 16:45:53 +09:00
parent 611e6847ff
commit a55ed3dba4

@ -135,7 +135,7 @@ def _main():
query_terms = ["status:new", "age:%s" % options.age]
if options.branches:
query_terms += ["branch:%s" % b for b in options.branches]
elif options.exclude_branch:
elif options.exclude_branches:
query_terms += ["-branch:%s" % b for b in options.exclude_branches]
if options.projects:
query_terms += ["project:%s" % p for p in options.projects]