mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove no-longer-used enumerate
This commit is contained in:
parent
e03b865359
commit
b79ff04fda
1 changed files with 1 additions and 1 deletions
|
@ -4979,7 +4979,7 @@ def get_diff(file1,
|
|||
)
|
||||
|
||||
args = []
|
||||
for idx, filename in enumerate(files):
|
||||
for filename in files:
|
||||
try:
|
||||
with salt.utils.files.fopen(filename, 'rb') as fp_:
|
||||
args.append(fp_.readlines())
|
||||
|
|
Loading…
Add table
Reference in a new issue