@@ -1024,7 +1024,7 @@ def _list_outputs(self):
10241024 if self .inputs .sort_filelist :
10251025 outfiles = human_order_sorted (outfiles )
10261026 outputs [key ].append (simplify_list (outfiles ))
1027- if any ([ val is None for val in outputs [key ] ]):
1027+ if any (val is None for val in outputs [key ]):
10281028 outputs [key ] = []
10291029 if len (outputs [key ]) == 0 :
10301030 outputs [key ] = None
@@ -1299,7 +1299,7 @@ def _list_outputs(self):
12991299 if self .inputs .drop_blank_outputs :
13001300 outputs [key ] = [x for x in outputs [key ] if x is not None ]
13011301 else :
1302- if any ([ val is None for val in outputs [key ] ]):
1302+ if any (val is None for val in outputs [key ]):
13031303 outputs [key ] = []
13041304 if len (outputs [key ]) == 0 :
13051305 outputs [key ] = None
@@ -2644,7 +2644,7 @@ def _list_outputs(self):
26442644 outputs [key ].append (self ._get_files_over_ssh (filledtemplate ))
26452645
26462646 # disclude where there was any invalid matches
2647- if any ([ val is None for val in outputs [key ] ]):
2647+ if any (val is None for val in outputs [key ]):
26482648 outputs [key ] = []
26492649
26502650 # no outputs is None, not empty list
0 commit comments