~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 18:33:35 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1532.
  • Revision ID: john@arbash-meinel.com-20051201183335-578f560fb6f8d3c3
Changing os.path.normpath to osutils.normpath

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
from bzrlib.trace import mutter
29
29
from bzrlib.transport import Transport, register_transport, \
30
30
    TransportError, NoSuchFile, FileExists
31
 
from bzrlib.osutils import abspath, realpath, pathjoin
 
31
from bzrlib.osutils import abspath, realpath, normpath, pathjoin
32
32
 
33
33
class LocalTransportError(TransportError):
34
34
    pass
43
43
            base = base[7:]
44
44
        # realpath is incompatible with symlinks. When we traverse
45
45
        # up we might be able to normpath stuff. RBC 20051003
46
 
        super(LocalTransport, self).__init__(
47
 
            os.path.normpath(abspath(base)))
 
46
        super(LocalTransport, self).__init__(normpath(abspath(base)))
48
47
 
49
48
    def should_cache(self):
50
49
        return False