Log message for revision 40966: Fix breakage on Windows due to misuse of os.path (use posixpath instead).
Changed: U Zope/trunk/lib/python/ZServer/ClockServer.py -=- Modified: Zope/trunk/lib/python/ZServer/ClockServer.py =================================================================== --- Zope/trunk/lib/python/ZServer/ClockServer.py 2005-12-21 18:53:31 UTC (rev 40965) +++ Zope/trunk/lib/python/ZServer/ClockServer.py 2005-12-21 21:00:38 UTC (rev 40966) @@ -14,6 +14,7 @@ """ Zope clock server. Generate a faux HTTP request on a regular basis by coopting the asyncore API. """ +import posixpath import os import socket import time @@ -118,8 +119,8 @@ # ZPublisher doesn't want the leading '?' query = query[1:] env['PATH_INFO']= '/' + path - env['PATH_TRANSLATED']= os.path.normpath( - os.path.join(os.getcwd(), env['PATH_INFO'])) + env['PATH_TRANSLATED']= posixpath.normpath( + posixpath.join(os.getcwd(), env['PATH_INFO'])) if query: env['QUERY_STRING'] = query env['channel.creation_time']=time.time() _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins