mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix some lint
This commit is contained in:
parent
799d938d6a
commit
860437665d
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ def refresh_db(saltenv='base'):
|
|||
winrepo_source_dir = __opts__['winrepo_source_dir']
|
||||
|
||||
# Clear minion repo-ng cache
|
||||
repo_path = '{0}\\files\\{1}\win\\repo-ng\\salt-winrepo-ng'\
|
||||
repo_path = '{0}\\files\\{1}\\win\\repo-ng\\salt-winrepo-ng'\
|
||||
.format(__opts__['cachedir'], saltenv)
|
||||
if not __salt__['file.remove'](repo_path):
|
||||
log.error('pkg.refresh_db: failed to clear existing cache')
|
||||
|
|
Loading…
Add table
Reference in a new issue