hgext/remotefilelog/shallowutil.py
changeset 52383 51df2bf7c40b
parent 51859 f4733654f144
child 52571 94fa2543d710
--- a/hgext/remotefilelog/shallowutil.py	Thu Dec 05 12:40:16 2024 -0500
+++ b/hgext/remotefilelog/shallowutil.py	Thu Dec 05 12:46:21 2024 -0500
@@ -14,7 +14,6 @@
 import tempfile
 
 from mercurial.i18n import _
-from mercurial.pycompat import open
 from mercurial.node import hex
 from mercurial import (
     error,
@@ -322,7 +321,7 @@
 
 
 def readfile(path):
-    f = open(path, b'rb')
+    f = open(path, 'rb')
     try:
         result = f.read()