68
67
raise NoSuchFile(relpath)
69
68
return StringIO(self._files[relpath])
70
def put(self, relpath, f, mode=None):
72
71
"""See Transport.put()."""
73
72
self._check_parent(relpath)
74
73
self._files[relpath] = f.read()
77
76
"""See Transport.mkdir()."""
78
77
self._check_parent(relpath)
79
78
if relpath in self._dirs: