mercurial/cffi/mpatchbuild.py
changeset 43077 687b865b95ad
parent 43076 2372284d9457
child 43668 53607fd3ec6c
--- a/mercurial/cffi/mpatchbuild.py	Sun Oct 06 09:45:02 2019 -0400
+++ b/mercurial/cffi/mpatchbuild.py	Sun Oct 06 09:48:39 2019 -0400
@@ -5,11 +5,11 @@
 
 ffi = cffi.FFI()
 mpatch_c = os.path.join(
-    os.path.join(os.path.dirname(__file__), '..', 'mpatch.c')
+    os.path.join(os.path.dirname(__file__), b'..', b'mpatch.c')
 )
 with open(mpatch_c) as f:
     ffi.set_source(
-        "mercurial.cffi._mpatch", f.read(), include_dirs=["mercurial"]
+        b"mercurial.cffi._mpatch", f.read(), include_dirs=[b"mercurial"]
     )
 ffi.cdef(
     """