Python 3 fix for waf dist #1769

This commit is contained in:
Thomas Nagy 2016-07-14 21:21:50 +02:00
parent ebc0048eb0
commit 6e078cff66
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ class Dist(Context.Context):
except ImportError:
digest = ''
else:
digest = ' (sha=%r)' % sha1(node.read()).hexdigest()
digest = ' (sha=%r)' % sha1(node.read(flags='rb')).hexdigest()
Logs.info('New archive created: %s%s', self.arch_name, digest)