Code0x58 commented on a change in pull request #3580:
URL: https://github.com/apache/incubator-heron/pull/3580#discussion_r459152556



##########
File path: heron/shell/src/python/utils.py
##########
@@ -135,7 +135,7 @@ def read_chunk(filename, offset=-1, length=-1, 
escape_data=False):
   if length == -1:
     length = fstat.st_size - offset
 
-  with open(filename, "r") as fp:

Review comment:
       I think the `encoding='utf-8'` is implied on normal builds, including 
WIndows as of python3.6, so the change on this line could be dropped




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to