From: Fred L. D. <fd...@us...> - 2002-04-08 18:45:14
|
Update of /cvsroot/ht2html/ht2html In directory usw-pr-cvs1:/tmp/cvs-serv25524 Modified Files: PDOGenerator.py Log Message: Do not join the stylesheet name and location using os.path.join(); use the posixpath module directly, since it always uses the POSIX notation. Index: PDOGenerator.py =================================================================== RCS file: /cvsroot/ht2html/ht2html/PDOGenerator.py,v retrieving revision 2.6 retrieving revision 2.7 diff -C2 -d -r2.6 -r2.7 *** PDOGenerator.py 3 Apr 2002 22:10:12 -0000 2.6 --- PDOGenerator.py 8 Apr 2002 18:45:09 -0000 2.7 *************** *** 3,6 **** --- 3,7 ---- import os + import posixpath import whrandom *************** *** 83,87 **** def get_stylesheet(self): ! return os.path.join(self.__d['rootdir'], 'style.css') def get_title(self): --- 84,88 ---- def get_stylesheet(self): ! return posixpath.join(self.__d['rootdir'], 'style.css') def get_title(self): |