superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] mistercrunch closed pull request #5309: [bugfix] README encoding-related UnicodeDecodeError on setup.py
Date Sun, 01 Jul 2018 15:57:15 GMT
mistercrunch closed pull request #5309: [bugfix] README encoding-related UnicodeDecodeError
on setup.py
URL: https://github.com/apache/incubator-superset/pull/5309
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/setup.py b/setup.py
index 771b46d5b0..3401902849 100644
--- a/setup.py
+++ b/setup.py
@@ -16,8 +16,8 @@
 with open(PACKAGE_FILE) as package_file:
     version_string = json.load(package_file)['version']
 
-with open('README.md') as readme:
-    long_description = readme.read()
+with open('README.md', encoding='utf-8') as f:
+    long_description = f.read()
 
 
 def get_git_sha():


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Mime
View raw message