[v2,11/26] framework/programs/run: remove redundant list() around comprehension

Submitted by Dylan Baker on Oct. 27, 2016, 9:31 p.m.

Details

Message ID fa271c85f5f12cf486d4a3bc9d3f9fe22d091f30.1477603560.git-series.dylan@pnwbakers.com
State New
Headers show

Not browsing as part of any series.

Patch hide | download patch | download mbox

diff --git a/framework/programs/run.py b/framework/programs/run.py
index 64029a6..8b587f3 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: