From 6c5471762f58f2707b872ee99fef70e12b60763c Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Thu, 5 Oct 2023 13:29:13 +0200 Subject: check-new-issues: keep blank line to skip to next issue This partially reverts commit 7ebe865e to keep compatibility with the old Perl version. However we keep the newly added 's' command to skip to next issue. --- bin/check-new-issues | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/check-new-issues b/bin/check-new-issues index 5b0fe48bed..c776a80b4e 100755 --- a/bin/check-new-issues +++ b/bin/check-new-issues @@ -301,7 +301,7 @@ def print_stats(): def print_commands(): print(''' - * s to skip to next issue + * s or blank line to skip to next issue * h to repeat this help output of the list of commands * f name to do "apt-file search name" * c name to do "apt-cache search name" @@ -608,7 +608,8 @@ def present_issue(name): line = line.strip() if m := re.match(r"^\s*$", line): - continue + # skip command + break elif m := re.match(r"^s$", line): # skip command break -- cgit v1.2.3