[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/apidoc/component.py
Made Windows compatibility fix.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Feb 27 18:40:27 EST 2005
Log message for revision 29329:
Made Windows compatibility fix.
Changed:
U Zope3/trunk/src/zope/app/apidoc/component.py
-=-
Modified: Zope3/trunk/src/zope/app/apidoc/component.py
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/component.py 2005-02-27 23:28:09 UTC (rev 29328)
+++ Zope3/trunk/src/zope/app/apidoc/component.py 2005-02-27 23:40:26 UTC (rev 29329)
@@ -142,7 +142,7 @@
def getParserInfoInfoDictionary(info):
"""Return a PT-friendly info dictionary for a parser info object."""
return {'file': relativizePath(info.file),
- 'url': relativizePath(info.file)[10:],
+ 'url': relativizePath(info.file)[10:].replace('\\\\', '/'),
'line': info.line,
'eline': info.eline,
'column': info.column,
More information about the Zope3-Checkins
mailing list