##// END OF EJS Templates
lfs: use str for the open() mode when opening a blob for py3...
Matt Harbison -
r44776:234001d2 default
parent child Browse files
Show More
@@ -128,7 +128,7 b' class local(object):'
128 def open(self, oid):
128 def open(self, oid):
129 """Open a read-only file descriptor to the named blob, in either the
129 """Open a read-only file descriptor to the named blob, in either the
130 usercache or the local store."""
130 usercache or the local store."""
131 return open(self.path(oid), b'rb')
131 return open(self.path(oid), 'rb')
132
132
133 def path(self, oid):
133 def path(self, oid):
134 """Build the path for the given blob ``oid``.
134 """Build the path for the given blob ``oid``.
General Comments 0
You need to be logged in to leave comments. Login now