mercurial/cffi/mpatchbuild.py
branchstable
changeset 43668 53607fd3ec6c
parent 43077 687b865b95ad
child 48875 6000f5b25c9b
--- a/mercurial/cffi/mpatchbuild.py	Sat Nov 16 20:08:35 2019 +0100
+++ b/mercurial/cffi/mpatchbuild.py	Sun Nov 17 19:55:01 2019 +0100
@@ -5,11 +5,11 @@
 
 ffi = cffi.FFI()
 mpatch_c = os.path.join(
-    os.path.join(os.path.dirname(__file__), b'..', b'mpatch.c')
+    os.path.join(os.path.dirname(__file__), '..', 'mpatch.c')
 )
 with open(mpatch_c) as f:
     ffi.set_source(
-        b"mercurial.cffi._mpatch", f.read(), include_dirs=[b"mercurial"]
+        "mercurial.cffi._mpatch", f.read(), include_dirs=["mercurial"]
     )
 ffi.cdef(
     """