[Zope] Re: LocalFS cross platform bug

Jonothan Farr jfarr@real.com
Tue, 20 Jun 2000 12:27:17 -0700


>  > 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 :-(.

Doh! Looks like we'll need to roll our own splitdrive then.

--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998