/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: John Arbash Meinel
  • Date: 2007-07-13 02:23:34 UTC
  • mfrom: (2592 +trunk) (2612 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2614.
  • Revision ID: john@arbash-meinel.com-20070713022334-qb6ewgo6v4251yd9
[merge] bzr.dev 2612

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):