133
133
raise NoSuchFile(relpath)
134
134
return StringIO(self._files[_abspath][0])
136
def put(self, relpath, f, mode=None):
136
def put_file(self, relpath, f, mode=None):
138
138
_abspath = self._abspath(relpath)
139
139
self._check_parent(_abspath)
140
140
self._files[_abspath] = (f.read(), mode)