summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-10-13 15:57:41 -0700
committerDylan Baker <dylan@pnwbakers.com>2016-11-10 10:50:31 -0800
commit3ca3557d9d634c00d4435560f63b356b00258c23 (patch)
tree06c423ff20292320ecf67731f47c7463dd2e7ec7 /framework
parent22f31b6419cedfd80fb43eac8462303791ada9b3 (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.py2
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: