[PATCH] hide ACK msg when an smtp error occurs
Carl Chenet
carl.chenet at ohmytux.com
Sun May 3 12:58:40 UTC 2009
---
reportbug/submit.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/reportbug/submit.py b/reportbug/submit.py
index ca25063..2ee09ca 100644
--- a/reportbug/submit.py
+++ b/reportbug/submit.py
@@ -447,7 +447,7 @@ def send_report(body, attachments, mua, fromaddr, sendto, ccaddr, bccaddr,
for address in debbugs_cc:
ewrite(' %s\n', rfc822.dump_address_pair(address))
- if not (exinfo or kudos) and rtype == 'debbugs' and sysinfo:
+ if not (exinfo or kudos) and rtype == 'debbugs' and sysinfo and not failed:
ewrite('\n')
ui.long_message(
"""If you want to provide additional information, please wait to
--
1.5.4.3
--=-03WMfXz3S1D0reWIE51h--
More information about the Reportbug-maint
mailing list