From 477a499b6005fd1635c1b505c57ef01b7cf53104 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Thu, 7 Jul 2022 15:17:26 +0900 Subject: scripts/find.py: ignore Abandoned too It will ignore "Done" automatically, but it should ignore "Abandoned", too. Signed-off-by: Kuninori Morimoto --- Makefile | 2 +- scripts/find.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 59823e8..2c697a5 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ index.html: ${HTMLDIR} ${WIKIDIR}: mkdir -p $@ -${HTML}: ${FILES} ./scripts/html_${CMD}.py ./scripts/html_base.py ./scripts/base.py +${HTML}: ${FILES} ./scripts/html_${CMD}.py ./scripts/html_base.py ./scripts/base.py ./scripts/find.py echo $@ ./scripts/html_${CMD}.py ${OPTION} ${FILES} > $@ loop: diff --git a/scripts/find.py b/scripts/find.py index d5060cd..bc49d70 100755 --- a/scripts/find.py +++ b/scripts/find.py @@ -26,7 +26,7 @@ class find(base.base): # # replace -a NoAssignee to -na "" # - # add "-ns Done" automatically + # add "-ns Done,Abandoned" automatically # if user doesn't specify "-s" or "-ns" or "-is" match = 0 for i in range(len(arg)): @@ -40,7 +40,7 @@ class find(base.base): match = 1 if (not match): - arg += ["-ns", "Done"] + arg += ["-ns", "Done,Abandoned"] return arg -- cgit v1.2.3