contrib/fuzz/revlog_corpus.py
changeset 43836 ba84a1ae4ae5
parent 43808 54a6846ba96f
child 48875 6000f5b25c9b
--- a/contrib/fuzz/revlog_corpus.py	Tue Dec 10 15:29:58 2019 -0800
+++ b/contrib/fuzz/revlog_corpus.py	Tue Dec 10 16:17:36 2019 -0800
@@ -18,8 +18,8 @@
 
 with zipfile.ZipFile(args.out[0], "w", zipfile.ZIP_STORED) as zf:
     if os.path.exists(changelog):
-        with open(changelog) as f:
+        with open(changelog, 'rb') as f:
             zf.writestr("00changelog.i", f.read())
     if os.path.exists(contributing):
-        with open(contributing) as f:
+        with open(contributing, 'rb') as f:
             zf.writestr("contributing.i", f.read())