pointless restyling

This commit is contained in:
Bernardo Damele 2012-12-19 14:25:29 +00:00
parent 3be90c97aa
commit 12eed58485

View File

@ -228,8 +228,10 @@ def runCase(switches=None, parse=None):
def replaceVars(item, vars_): def replaceVars(item, vars_):
retVal = item retVal = item
if item and vars_: if item and vars_:
for var in re.findall("\$\{([^}]+)\}", item): for var in re.findall("\$\{([^}]+)\}", item):
if var in vars_: if var in vars_:
retVal = retVal.replace("${%s}" % var, vars_[var]) retVal = retVal.replace("${%s}" % var, vars_[var])
return retVal return retVal