From d39d36f7a747f6fd28319f089a6311f5f1529a2d Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 23 Oct 2011 23:27:56 +0000 Subject: [PATCH] minor language beautification --- lib/core/common.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 600b7c544..3fd6b1525 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -696,21 +696,21 @@ def paramToDict(place, parameters=None): paramStr = ", ".join(test for test in conf.testParameter) if len(conf.testParameter) > 1: - warnMsg = "the testable parameters '%s' " % paramStr - warnMsg += "you provided are not inside the %s" % place + warnMsg = "provided parameters '%s' " % paramStr + warnMsg += "are not inside the %s" % place else: parameter = conf.testParameter[0] - warnMsg = "the testable parameter '%s' " % paramStr - warnMsg += "you provided is not inside the %s" % place + warnMsg = "provided parameter '%s' " % paramStr + warnMsg += "is not inside the %s" % place logger.warn(warnMsg) elif len(conf.testParameter) != len(testableParameters.keys()): for parameter in conf.testParameter: if not testableParameters.has_key(parameter): - warnMsg = "the testable parameter '%s' " % parameter - warnMsg += "you provided is not inside the %s" % place + warnMsg = "provided parameter '%s' " % parameter + warnMsg += "is not inside the %s" % place logger.warn(warnMsg) return testableParameters