From 115be9d7b5d4a646ea2d50f80f41a0fa8d3f83cc Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sun, 20 Jan 2013 01:26:46 +0000 Subject: [PATCH] minor fixes --- lib/core/common.py | 7 ++++--- xml/livetests.xml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 51afbcfd4..6637452d6 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -619,7 +619,8 @@ def getDocRoot(): infoMsg = "retrieved the web server document root: '%s'" % docRoot logger.info(infoMsg) else: - warnMsg = "unable to retrieve the web server document root" + warnMsg = "unable to retrieve automatically the web server " + warnMsg += "document root" logger.warn(warnMsg) docRoot = [] @@ -673,7 +674,7 @@ def getDirs(): directory = ntToPosixSlashes(directory) directories.add(directory) else: - warnMsg = "unable to retrieve any web server path" + warnMsg = "unable to retrieve automatically any web server path" logger.warn(warnMsg) webDir = extractRegexResult(r"//[^/]+?/(?P.*)/.", conf.url) @@ -681,7 +682,7 @@ def getDirs(): directories.add(webDir) message = "please provide additional comma separated file paths to " - message += "try to upload the agent inside the possible document " + message += "try to upload the agent inside the possible document: " message += "root%s [Enter for None]: " % "s" if len(kb.docRoot) > 1 else "" inputDirs = readInput(message) diff --git a/xml/livetests.xml b/xml/livetests.xml index 6d74eec1b..71bb126db 100644 --- a/xml/livetests.xml +++ b/xml/livetests.xml @@ -2577,7 +2577,7 @@ - +