@@ -975,7 +975,7 @@ def _list_outputs(self):
975975 if self .inputs .sort_filelist :
976976 filelist = human_order_sorted (filelist )
977977 outputs [key ] = simplify_list (filelist )
978- for argnum , arglist in enumerate ( args ) :
978+ for arglist in args :
979979 maxlen = 1
980980 for arg in arglist :
981981 if isinstance (arg , (str , bytes )) and hasattr (self .inputs , arg ):
@@ -1250,7 +1250,7 @@ def _list_outputs(self):
12501250 if self .inputs .sort_filelist :
12511251 filelist = human_order_sorted (filelist )
12521252 outputs [key ] = simplify_list (filelist )
1253- for argnum , arglist in enumerate ( args ) :
1253+ for arglist in args :
12541254 maxlen = 1
12551255 for arg in arglist :
12561256 if isinstance (arg , (str , bytes )) and hasattr (self .inputs , arg ):
@@ -1995,7 +1995,7 @@ def _list_outputs(self):
19951995 if file_object .exists ()
19961996 ]
19971997 )
1998- for argnum , arglist in enumerate ( args ) :
1998+ for arglist in args :
19991999 maxlen = 1
20002000 for arg in arglist :
20012001 if isinstance (arg , (str , bytes )) and hasattr (self .inputs , arg ):
@@ -2609,7 +2609,7 @@ def _list_outputs(self):
26092609 if not args :
26102610 outputs [key ] = self ._get_files_over_ssh (template )
26112611
2612- for argnum , arglist in enumerate ( args ) :
2612+ for arglist in args :
26132613 maxlen = 1
26142614 for arg in arglist :
26152615 if isinstance (arg , (str , bytes )) and hasattr (self .inputs , arg ):
0 commit comments