mirror of https://gitlab.com/ita1024/waf.git
Python 3 fix for waf dist #1769
This commit is contained in:
parent
ebc0048eb0
commit
6e078cff66
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue