136
136
except (IOError, OSError),e:
137
137
self._translate_error(e, path)
139
def append(self, relpath, f, mode=None):
140
140
"""Append the text in the file-like object into the final
144
144
fp = open(self.abspath(relpath), 'ab')
145
147
except (IOError, OSError),e:
146
148
self._translate_error(e, relpath)
147
149
# win32 workaround (tell on an unwritten file returns 0)