[Reproducible-commits] [misc] 01/01: clean-notes: explicitly use utf8 while opening the notes file.

Mattia Rizzolo mapreri-guest at moszumanska.debian.org
Wed Jan 14 22:37:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch master
in repository misc.

commit 6ca251de8d34c5f51940792c17b34e92cfeb7cfd
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Wed Jan 14 23:37:21 2015 +0100

    clean-notes: explicitly use utf8 while opening the notes file.
---
 clean-notes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clean-notes b/clean-notes
index e90ce65..6c1b0b6 100755
--- a/clean-notes
+++ b/clean-notes
@@ -95,7 +95,7 @@ def load_reproducible_status():
     return r
 
 def load_notes():
-    with open(notes_yaml) as fd:
+    with open(notes_yaml, encoding='utf-8') as fd:
         notes = yaml.load(fd)
     return notes
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list