minor update

This commit is contained in:
Miroslav Stampar 2010-02-03 16:04:44 +00:00
parent 8b0d31a6b7
commit 494e014a4a

View File

@ -236,7 +236,7 @@ def getDocRoot():
absFilePathWin = None
if re.match("[A-Za-z]:([\\/][\w.\\/]*)?", absFilePath):
absFilePathWin = absFilePath
absFilePathWin = absFilePath.replace("/", "\\")
absFilePath = absFilePath[2:].replace("\\", "/")
if pagePath in absFilePath:
@ -282,7 +282,7 @@ def getDirs():
for absFilePath in kb.absFilePaths:
if absFilePath:
directories.add(os.path.dirname(absFilePath))
directories.add(directoryPath(absFilePath))
else:
warnMsg = "unable to retrieve any web server path"
logger.warn(warnMsg)