[Blends-commit] [SCM] website branch, master, updated. 079645836b1087ea103d687a407b09b463208976

Ole Streicher olebole at debian.org
Sun Mar 6 19:37:28 UTC 2016


The following commit has been merged in the master branch:
commit 079645836b1087ea103d687a407b09b463208976
Author: Ole Streicher <olebole at debian.org>
Date:   Sun Mar 6 20:35:01 2016 +0100

    open tasks file in UTF-8 as well

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index a57c00f..919a086 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -1199,7 +1199,7 @@ class TaskDependencies:
     def GetTaskDependencies(self, source=0):
         global dep_strength_keys
 
-        f = file(self.taskfile)
+        f = codecs.open(self.taskfile, "r", "utf-8")
         found_description=False
         for stanza in deb822.Sources.iter_paragraphs(f):
             # Why and Responsible can be valid for more than one dependency

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list