Commit 929b72ab authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #623 from haypo/read_u

Don't use deprecated 'U' flag to read manifest
parents ebf30b69 4720c481
......@@ -179,7 +179,7 @@ class sdist(orig.sdist):
distribution.
"""
log.info("reading manifest file '%s'", self.manifest)
manifest = open(self.manifest, 'rbU')
manifest = open(self.manifest, 'rb')
for line in manifest:
# The manifest must contain UTF-8. See #303.
if six.PY3:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment