[Python-modules-commits] [python-websockets] 05/08: use the right encoding while opening README.rst

Piotr Ożarowski piotr at moszumanska.debian.org
Fri Jun 30 12:54:56 UTC 2017


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

piotr pushed a commit to branch master
in repository python-websockets.

commit edf789e281e6c22452092ef192cf142992c5c557
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Fri Jun 30 14:48:02 2017 +0200

    use the right encoding while opening README.rst
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 57ced17..e05acd5 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ root_dir = os.path.abspath(os.path.dirname(__file__))
 
 description = "An implementation of the WebSocket Protocol (RFC 6455)"
 
-with open(os.path.join(root_dir, 'README.rst')) as f:
+with open(os.path.join(root_dir, 'README.rst'), encoding='utf-8') as f:
     long_description = f.read()
 
 with open(os.path.join(root_dir, 'websockets', 'version.py')) as f:

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



More information about the Python-modules-commits mailing list