From 12eed58485cc366b645476d18ea37b3cd1167f99 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 19 Dec 2012 14:25:29 +0000 Subject: [PATCH] pointless restyling --- lib/core/testing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/core/testing.py b/lib/core/testing.py index 76407dd87..801de6037 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -228,8 +228,10 @@ def runCase(switches=None, parse=None): def replaceVars(item, vars_): retVal = item + if item and vars_: for var in re.findall("\$\{([^}]+)\}", item): if var in vars_: retVal = retVal.replace("${%s}" % var, vars_[var]) + return retVal