[PATCH] emphasize empty smtphost message

Carl Chenet carl.chenet at ohmytux.com
Fri May 22 15:31:30 UTC 2009


---
 bin/reportbug |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reportbug b/bin/reportbug
index b48f268..b85c849 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -509,11 +509,11 @@ def offer_configuration(options):
         opts = []
         if options.smtphost:
             opts += [options.smtphost]
-        smtphost = ui.get_string(
-            'Please enter the name of your SMTP host.  Usually it\'s called '
+        ewrite('Please enter the name of your SMTP host.  Usually it\'s called '
             'something like "mail.example.org" or "smtp.example.org". '
             'If you need to use a different port than default, use the '
-            '<host>:<port> alternative format. '
+            '<host>:<port> alternative format.\n\n')
+        smtphost = ui.get_string(
             'Just press ENTER if you don\'t have one or don\'t know.',
             options=opts, empty_ok=True, force_prompt=True)
         if smtphost:
-- 
1.5.4.3


--=-BO2Yg89CHOfkEFT4sn7u--






More information about the Reportbug-maint mailing list