[Reportbug-commits] [reportbug] 05/31: Output user from address in human-readable format

Sandro Tosi morph at moszumanska.debian.org
Mon Jan 16 01:36:55 UTC 2017


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

morph pushed a commit to branch master
in repository reportbug.

commit ae79ce6ca2713b82d5b554b862c89dfd1a62cc06
Author: Nis Martensen <nis.martensen at web.de>
Date:   Sat Jan 14 11:52:52 2017 +0100

    Output user from address in human-readable format
    
    I.e., not in rfc 2047 encoded format
---
 bin/reportbug | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reportbug b/bin/reportbug
index 78ee665..e2247c6 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1323,7 +1323,8 @@ class UI(object):
                    "Please change your locale if this is incorrect.\n\n", charset)
 
         fromaddr = utils.get_user_id(self.options.email, self.options.realname, charset)
-        ewrite("Using '%s' as your from address.\n", fromaddr)
+        ewrite("Using '%s' as your from address.\n",
+                str(email.header.make_header(email.header.decode_header(fromaddr))))
         if self.options.debugmode:
             sendto = fromaddr
 

-- 
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