hgext/largefiles/proto.py
changeset 52389 aa3261b40492
parent 51859 f4733654f144
child 52562 5dcf40af7c2d
--- a/hgext/largefiles/proto.py	Thu Dec 05 13:00:59 2024 -0500
+++ b/hgext/largefiles/proto.py	Thu Dec 05 13:08:04 2024 -0500
@@ -8,7 +8,6 @@
 import os
 
 from mercurial.i18n import _
-from mercurial.pycompat import open
 
 from mercurial import (
     error,
@@ -72,7 +71,7 @@
         raise error.Abort(
             _(b'requested largefile %s not present in cache') % sha
         )
-    f = open(filename, b'rb')
+    f = open(filename, 'rb')
     length = os.fstat(f.fileno())[6]
 
     # Since we can't set an HTTP content-length header here, and