~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

integrate Memory tests into transport interface tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
        """Append the text in the file-like object into the final
133
133
        location.
134
134
        """
135
 
        fp = open(self.abspath(relpath), 'ab')
 
135
        try:
 
136
            fp = open(self.abspath(relpath), 'ab')
 
137
        except (IOError, OSError),e:
 
138
            self._translate_error(e, relpath)
136
139
        self._pump(f, fp)
137
140
 
138
141
    def copy(self, rel_from, rel_to):