Minor bug fix to --tamper

This commit is contained in:
Bernardo Damele 2010-10-16 21:55:34 +00:00
parent 2129935e06
commit a2997a6dce
3 changed files with 4 additions and 5 deletions

View File

@ -539,6 +539,8 @@ def __setTamperingFunctions():
for tfile in conf.tamper.split(','): for tfile in conf.tamper.split(','):
found = False found = False
tfile = tfile.strip()
if not tfile: if not tfile:
continue continue
@ -943,9 +945,6 @@ def __cleanupOptions():
else: else:
conf.testParameter = [] conf.testParameter = []
if conf.tamper:
conf.tamper = conf.tamper.replace(" ", "")
if conf.db: if conf.db:
conf.db = conf.db.replace(" ", "") conf.db = conf.db.replace(" ", "")