diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-10-13 15:57:41 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-11-10 10:50:31 -0800 |
commit | 3ca3557d9d634c00d4435560f63b356b00258c23 (patch) | |
tree | 06c423ff20292320ecf67731f47c7463dd2e7ec7 /framework | |
parent | 22f31b6419cedfd80fb43eac8462303791ada9b3 (diff) |
framework/programs/run: remove redundant list() around comprehension
This is a list comprehension, it already results in a list. There is no
need to wrap it in the list() constructor call.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/programs/run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/programs/run.py b/framework/programs/run.py index 9e82bba99..c9578953e 100644 --- a/framework/programs/run.py +++ b/framework/programs/run.py @@ -324,7 +324,7 @@ def run(input_): with open(args.test_list) as test_list: # Strip newlines - profiles[0].forced_test_list = list([t.strip() for t in test_list]) + profiles[0].forced_test_list = [t.strip() for t in test_list] # Set the dmesg type if args.dmesg: |