[Python-modules-commits] [python-bcrypt] 05/09: fix README ascii decoding error

Daniel Stender stender at moszumanska.debian.org
Sat Dec 3 09:53:01 UTC 2016


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

stender pushed a commit to branch master
in repository python-bcrypt.

commit e614e4069ec46a50296895ae53619521ff8ec4dd
Author: Daniel Stender <stender at debian.org>
Date:   Tue Jun 28 19:21:19 2016 +0200

    fix README ascii decoding error
    
    Easy fix for encoding error when build in non-utf8 environments.
    Forwarded: not-needed
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 060e675..27fbc8b 100644
--- a/setup.py
+++ b/setup.py
@@ -192,7 +192,7 @@ setup(
     version=__about__["__version__"],
 
     description=__about__["__summary__"],
-    long_description=open("README.rst").read(),
+    long_description=io.open("README.rst", encoding='utf-8').read(),
     url=__about__["__uri__"],
     license=__about__["__license__"],
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-bcrypt.git



More information about the Python-modules-commits mailing list