Permalink
Browse files

runtests: Simplify dictionary usage

  • Loading branch information...
JIghtuse committed Aug 20, 2015
1 parent 48ced3e commit 95d99a4c857d7d5208d8faf974b01354a798eba4
Showing with 1 addition and 4 deletions.
  1. +1 −4 testing/runtests.py
@@ -41,10 +41,7 @@ def get_config(self):
if (key=='config'):
value = value.replace('$INPUTDIR',self.args.inputdir)
#print('key=%s value=%s' % (key,value))
if key in config:
config[key].append(value)
else:
config[key] = [value]
config.setdefault(key, []).append(value)
return config
def prepare_test(self):

0 comments on commit 95d99a4

Please sign in to comment.