[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.4-22-gad7d28f

Sandro Tosi morph at debian.org
Mon Jun 8 14:14:12 UTC 2009


The following commit has been merged in the master branch:
commit a7a08753d7829c47ead8991a24a20d58162e227b
Author: Carl Chenet <carl.chenet at ohmytux.com>
Date:   Sun Jun 7 23:56:35 2009 +0200

    allow special character poorly truncated beeing replaced by a ? character

diff --git a/reportbug/ui/text_ui.py b/reportbug/ui/text_ui.py
index 721fc6b..15db2b7 100644
--- a/reportbug/ui/text_ui.py
+++ b/reportbug/ui/text_ui.py
@@ -613,7 +613,7 @@ def browse_bugs(hierarchy, count, bugs, bts, queryonly, mirrors,
 
                 while 1:
                     for line in lastpage:
-                        sys.stderr.write(line.decode('utf-8').encode(output_encoding, "replace"))
+                        sys.stderr.write(line.decode('utf-8', "replace").encode(output_encoding, "replace"))
                     x = select_options(pstr, options, helptext,
                                        allow_numbers=allowed)
                     if x == 'n':

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list