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), |
|
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