[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-105-g41de55f

Sandro Tosi morph at debian.org
Fri May 21 05:28:52 UTC 2010


The following commit has been merged in the master branch:
commit d64928f5942fb5592a6593cccc4693826ae551fd
Author: chaica <chaica at ohmytux.com>
Date:   Thu May 20 02:11:28 2010 +0200

    convert the config file to utf-8

diff --git a/reportbug/utils.py b/reportbug/utils.py
index 0c472e8..7cc12e6 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -661,7 +661,7 @@ def get_changed_config_files(conffiles, nocompress=False):
 
             thisinfo += line
 
-        confinfo[filename] = thisinfo
+        confinfo[filename] = thisinfo.decode('utf-8', 'replace')
 
     return confinfo, changed
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list