re: Latest CVS on windows

will <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Sat, 5 Jul 2003, Wari Wahab wrote:
>
> It is an unfortunate side effect of windows. Windows paths are not / so
> one has to convert them speficically.

If this is an issue with file_path as set in the fileentry.py module (line
100 or thereabouts), maybe we should just add a line:

   file_path = file_path.replace(os.sep, "/")

because we want to make sure we're using HTTP separators and not os
separators.

I just tested it out on my local CVS version (on Linux) and it doesn't
adversely affect me.  I think this would fix the issue.

Does that sound like the right thing to do?

/will


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.