From 3b5c5cc457ca8ea062b7aab3d78bc62c21c3c758 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 20 Oct 2010 21:49:05 +0000 Subject: [PATCH] Minor possible bug fix --- lib/core/common.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index a7141dc41..96f6d68ae 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -151,8 +151,14 @@ def paramToDict(place, parameters=None): for child in iterator: parameter = child.tag + + if "}" in parameter: + testParam = parameter.split("}")[1] + else: + testParam = parameter + condition = not conf.testParameter - condition |= parameter.split("}")[1] in conf.testParameter + condition |= testParam in conf.testParameter if condition: testableParameters[parameter] = child.text