[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.1-18-g69f1bd2
Sandro Tosi
morph at debian.org
Sat Apr 18 12:33:01 UTC 2009
The following commit has been merged in the master branch:
commit d5104f7c7f12b9c3cc694115a45e3ba29b5c657d
Author: carl <carl at bureau-carl.(none)>
Date: Thu Apr 16 16:57:15 2009 +0200
Decode def_email
diff --git a/bin/reportbug b/bin/reportbug
index 5042ee7..dcae600 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -450,6 +450,11 @@ def offer_configuration(options):
def_realname, def_email = utils.get_email()
try:
+ def_email = def_email.encode(charset, 'replace')
+ except UnicodeDecodeError:
+ def_email = ''
+
+ try:
if options.realname:
realname = options.realname.encode(charset, 'replace')
else:
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list