The following commit has been merged in the master branch:
commit c437840db552644ae90cbfe15e9e7ee987b9803e
Author: Ole Streicher <oleb...@debian.org>
Date:   Fri Feb 19 19:59:30 2016 +0100

    Enable unicode for debian-astro_idx

diff --git a/webtools/tasks.py b/webtools/tasks.py
index 58e479f..d312366 100755
--- a/webtools/tasks.py
+++ b/webtools/tasks.py
@@ -203,7 +203,7 @@ for lang in languages:
                        os.unlink(outputfile)
                except: # simply continue if file does not exist
                        pass
-               f = open(outputfile, 'w')
+               f = codecs.open(outputfile, "w", "utf-8")
                try:
                        print >> f, template.generate(**data).render('xhtml')
                except UnicodeDecodeError, errtxt:

-- 
Static and dynamic websites for Debian Pure Blends

_______________________________________________
Blends-commit mailing list
Blends-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit

Reply via email to