Convert settings list into a tuple so it can be matched by the decorator.

This commit is contained in:
Adrian Prantl 2020-03-12 17:47:27 -07:00
parent a9740ff158
commit a9682ccb7e
1 changed files with 2 additions and 1 deletions

View File

@ -349,7 +349,8 @@ def parseOptionsAndInitTestdirs():
logging.error('"%s" is not a setting in the form "key=value"',
setting[0])
sys.exit(-1)
configuration.settings.append(setting[0].split('=', 1))
setting_list = setting[0].split('=', 1)
configuration.settings.append((setting_list[0], setting_list[1]))
if args.d:
sys.stdout.write(