[Reportbug-commits] [reportbug] 05/11: use ui.final_message() when printing the last message and then exit

Sandro Tosi morph at moszumanska.debian.org
Wed Apr 15 18:08:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit dcf2e38db24da42be297f1bd6f327fff3a02a9f0
Author: Sandro Tosi <morph at debian.org>
Date:   Mon Apr 13 00:35:33 2015 +0100

    use ui.final_message() when printing the last message and then exit
---
 debian/changelog    | 3 ++-
 reportbug/submit.py | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 753625f..58f3781 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,9 @@ reportbug (6.6.4) UNRELEASED; urgency=medium
   * reportbug/submit.py
     - correctly handle the case where there is not MTA or smtphost defined;
       Closes: #782319, #780825, #769055
+    - use ui.final_message() when printing the last message and then exit
 
- -- Sandro Tosi <morph at debian.org>  Sun, 12 Apr 2015 23:14:00 +0100
+ -- Sandro Tosi <morph at debian.org>  Mon, 13 Apr 2015 00:35:13 +0100
 
 reportbug (6.6.3) unstable; urgency=medium
 
diff --git a/reportbug/submit.py b/reportbug/submit.py
index b3469f4..58934dd 100644
--- a/reportbug/submit.py
+++ b/reportbug/submit.py
@@ -488,7 +488,7 @@ def send_report(body, attachments, mua, fromaddr, sendto, ccaddr, bccaddr,
     if not (exinfo or kudos) and rtype == 'debbugs' and sysinfo and not failed \
             and mailing:
         ewrite('\n')
-        ui.long_message(
+        ui.final_message(
             """If you want to provide additional information, please wait to
 receive the bug tracking number via email; you may then send any extra
 information to %s (e.g. %s), where n is the bug number.  Normally you

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list