@@ -1025,7 +1025,7 @@ def _list_outputs(self):
10251025 if self .inputs .sort_filelist :
10261026 outfiles = human_order_sorted (outfiles )
10271027 outputs [key ].append (simplify_list (outfiles ))
1028- if any ([ val is None for val in outputs [key ] ]):
1028+ if any (val is None for val in outputs [key ]):
10291029 outputs [key ] = []
10301030 if len (outputs [key ]) == 0 :
10311031 outputs [key ] = None
@@ -1300,7 +1300,7 @@ def _list_outputs(self):
13001300 if self .inputs .drop_blank_outputs :
13011301 outputs [key ] = [x for x in outputs [key ] if x is not None ]
13021302 else :
1303- if any ([ val is None for val in outputs [key ] ]):
1303+ if any (val is None for val in outputs [key ]):
13041304 outputs [key ] = []
13051305 if len (outputs [key ]) == 0 :
13061306 outputs [key ] = None
@@ -2645,7 +2645,7 @@ def _list_outputs(self):
26452645 outputs [key ].append (self ._get_files_over_ssh (filledtemplate ))
26462646
26472647 # disclude where there was any invalid matches
2648- if any ([ val is None for val in outputs [key ] ]):
2648+ if any (val is None for val in outputs [key ]):
26492649 outputs [key ] = []
26502650
26512651 # no outputs is None, not empty list
0 commit comments