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

smcv pushed a commit to branch master
in repository game-data-packager.

commit 7bd1820e3f2cf52fe90626143dc02b7718959399
Author: Simon McVittie <s...@debian.org>
Date:   Thu Aug 10 13:35:53 2017 -0400

    debian/copyright.py: Cope with UTF-8 in licenses
---
 debian/changelog    | 1 +
 debian/copyright.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 43c99e7..5fda137 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ game-data-packager (54) UNRELEASED; urgency=medium
       packaged version [smcv]
     - Add missing sizes and sha1 and sha256 hashes for files on Quake
       4 French retail DVD (Closes: 808200). Thanks, nyav [smcv]
+    - debian/copyright.py: Cope with UTF-8 in licenses [smcv]
 
  -- Simon McVittie <s...@debian.org>  Wed, 05 Jul 2017 08:31:13 +0100
 
diff --git a/debian/copyright.py b/debian/copyright.py
index 696f508..baea37b 100755
--- a/debian/copyright.py
+++ b/debian/copyright.py
@@ -26,7 +26,7 @@ if __name__ == '__main__':
     for line in cin:
         if line.lower().startswith('include-license:'):
             license = line.split(':', 1)[1].strip()
-            for line in open(license):
+            for line in open(license, encoding='utf-8'):
                 if line.strip():
                     copy.write('  ' + line)
                 else:

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/game-data-packager.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to