mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix typo in os.walk
This commit is contained in:
parent
a6b5011cb7
commit
22cd943e5c
@ -143,7 +143,7 @@ def clean_pub_auth(opts):
|
||||
if not os.path.exists(auth_cache):
|
||||
return
|
||||
else:
|
||||
for (dirpath, dirnames, filenames) in os.walkpath(auth_cache):
|
||||
for (dirpath, dirnames, filenames) in os.walk(auth_cache):
|
||||
for auth_file in filenames:
|
||||
auth_file_path = os.path.join(dirpath, auth_file)
|
||||
if not os.path.isfile(auth_file_path):
|
||||
|
Loading…
Reference in New Issue
Block a user