Skip to content
Snippets Groups Projects
Commit 3a64ac39b893 authored by Augie Fackler's avatar Augie Fackler
Browse files

md5sum: adapt for python 3 support

parent cb6436e051ca
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
m = md5()
try:
for data in iter(lambda: fp.read(8192), ''):
for data in iter(lambda: fp.read(8192), b''):
m.update(data)
except IOError as msg:
sys.stderr.write('%s: I/O error: %s\n' % (filename, msg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment