Package: reportbug
Version: 3.12
Severity: minor
Tags: patch

In the final section you are presented with

 Submit this report on liferea (e to edit) [y|n|a|c|E|i|l|m|p|q|?]? ?
 y - Submit the bug report via email.
 n - Don't submit the bug report; instead, save it in a temporary file.
 a - Attach a file.
 c - Change editor and re-edit.
 E - (default) Re-edit the bug report.
 i - Include a text file.
 l - Pipe the message through the pager.
 m - Choose a mailer to edit the report.
 p - Print message to stdout.
 q - Don't submit the bug report; instead, save it in a temporary file.
 ? - Display this help.
 Submit this report on liferea (e to edit) [y|n|a|c|E|i|l|m|p|q|?]? q
 Spawning sensible-editor...
 No changes were made in the editor.

The attached patch makes both n and q quit, as the help suggests

-- Package-specific info:
** /home/ianw/.reportbugrc:
reportbug_version "3.2"
mode advanced
ui text
realname "Ian Wienand"
email "[EMAIL PROTECTED]"
smtphost "mail.cse.unsw.edu.au"

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages reportbug depends on:
ii  python2.3                     2.3.5-4    An interactive high-level object-o

-- no debconf information
--- ./reportbug-3.12/reportbug  2005-04-30 16:19:49.000000000 +1000
+++ reportbug-3.12-fixed/reportbug      2005-06-14 16:05:03.398815396 +1000
@@ -268,7 +268,7 @@
                     options.mua = mailer
                     break
             skip_editing = True
-        elif x == 'n':
+        elif x in ('n', 'q'):
             stopmsg(filename)
             sys.exit(1)
         elif x in ('l', 'p'):

Reply via email to