[Zope] Re: LocalFS cross platform bug

Dan L. Pierson dan@sol.control.com
Tue, 20 Jun 2000 11:55:43 -0400 (EDT)


Jonothan Farr writes:
 > How about this:
 > 
 > +    drive,rest=os.path.splitdrive(path)
 > +    if drive:
 > +            path = string.replace(rest, '\\', '/')

Oops, looks like this doesn't work after all.  The Linux version of
splitdrive doesn't actually do the split :-(.