/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Aaron Bentley
  • Date: 2007-07-17 13:27:14 UTC
  • mfrom: (2624 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: abentley@panoramicfeedback.com-20070717132714-tmzx9khmg9501k51
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    symbol_versioning,
36
36
    )
37
37
from bzrlib.trace import mutter
 
38
from bzrlib.transport import LateReadError
38
39
""")
39
40
 
40
41
from bzrlib.transport import Transport, Server
141
142
            path = self._abspath(relpath)
142
143
            return open(path, 'rb')
143
144
        except (IOError, OSError),e:
 
145
            if e.errno == errno.EISDIR:
 
146
                return LateReadError(relpath)
144
147
            self._translate_error(e, path)
145
148
 
146
149
    def put_file(self, relpath, f, mode=None):