summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2023-10-05 13:29:13 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2023-10-05 13:29:13 +0200
commit6c5471762f58f2707b872ee99fef70e12b60763c (patch)
tree7b339b268741b3b03a776bb415938d23b20a714a /bin
parent214f8c6844a2aad4de08ab1b7b37461fddeb64a6 (diff)
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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check-new-issues5
1 files changed, 3 insertions, 2 deletions
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy