Fix some lint

This commit is contained in:
twangboy 2016-02-12 18:34:07 -07:00
parent 799d938d6a
commit 860437665d

View file

@ -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')