[Blends-commit] [SCM] website branch, master, updated. 05bccf857d1e9f9b46efdfcbbabf6e54ea7fc6c7

Andreas Tille tille at debian.org
Tue Aug 6 19:47:17 UTC 2013


The following commit has been merged in the master branch:
commit 05bccf857d1e9f9b46efdfcbbabf6e54ea7fc6c7
Author: Andreas Tille <tille at debian.org>
Date:   Tue Aug 6 15:15:20 2013 +0200

    Finally found the encoding problem in bug title and workt around it

diff --git a/webtools/bugs_udd.py b/webtools/bugs_udd.py
index 5b9d38c..12d625c 100755
--- a/webtools/bugs_udd.py
+++ b/webtools/bugs_udd.py
@@ -184,7 +184,10 @@ def main():
             for k in bug.keys():
                 if k in ('source', 'status') :
                     continue
-                b[k] = bug[k]
+                if k == 'title':
+                    b[k] = to_unicode(bug[k])
+                else:
+                    b[k] = bug[k]
             if bug['status'] == 'done':
                 bugs[bug['source']]['done'].append(b)
                 bugs[bug['source']]['ndonebugs'] += 1

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list