[Reportbug-maint] Bug#546914: Copies sent to: shows mangled/encoded name
Carl Chenet
chaica at ohmytux.com
Thu Nov 5 22:49:46 UTC 2009
Package: reportbug
Version: 4.8
Severity: normal
Tags: patch
Hi,
Here is a patch to solve this issue.
Bye,
Carl Chenet
-- Package-specific info:
** Environment settings:
DEBEMAIL="chaica at ohmytux.com"
DEBFULLNAME="Carl Chenet"
INTERFACE="text"
** /home/chaica/.reportbugrc:
reportbug_version "4.5"
mode novice
ui text
smtphost "smtp.free.fr"
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages reportbug depends on:
ii apt 0.7.23.1 Advanced front-end for dpkg
ii python 2.5.4-2 An interactive high-level object-o
ii python-reportbug 4.8 Python modules for interacting wit
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn debconf-utils <none> (no description available)
ii debsums 2.0.47 tool for verification of installed
pn dlocate <none> (no description available)
ii exim4 4.69-11 metapackage to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.69-11+b1 lightweight Exim MTA (v4) daemon
ii file 5.03-1 Determines file type using "magic"
ii gnupg 1.4.10-1 GNU privacy guard - a free PGP rep
pn python-gtk2 <none> (no description available)
pn python-gtkspell <none> (no description available)
pn python-urwid <none> (no description available)
pn python-vte <none> (no description available)
pn xdg-utils <none> (no description available)
-- no debconf information
-------------- next part --------------
>From cd6d5301a7f45d3884cb0e0aae78fefcc473dd68 Mon Sep 17 00:00:00 2001
From: chaica <chaica at ohmytux.com>
Date: Thu, 5 Nov 2009 23:44:30 +0100
Subject: [PATCH] printing non encoded addresses after having sent the bug report
---
reportbug/submit.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/reportbug/submit.py b/reportbug/submit.py
index e48ee52..0d8af0d 100644
--- a/reportbug/submit.py
+++ b/reportbug/submit.py
@@ -469,13 +469,13 @@ def send_report(body, attachments, mua, fromaddr, sendto, ccaddr, bccaddr,
if len(addresses):
ewrite("Copies sent to:\n")
- for address in addresses:
- ewrite(' %s\n', rfc822.dump_address_pair(address))
+ for address in addrs:
+ ewrite(' %s\n', address)
if debbugs_cc and rtype == 'debbugs':
ewrite("Copies will be sent after processing to:\n")
- for address in debbugs_cc:
- ewrite(' %s\n', rfc822.dump_address_pair(address))
+ for address in cclist:
+ ewrite(' %s\n', address)
if not (exinfo or kudos) and rtype == 'debbugs' and sysinfo and not failed:
ewrite('\n')
--
1.6.4.3
More information about the Reportbug-maint
mailing list