From b7fd5032a55658d4e62567d76d672c1a0b0398db Mon Sep 17 00:00:00 2001 From: twangboy Date: Tue, 25 Aug 2015 16:19:46 -0600 Subject: [PATCH] I incorrectly ignored a lint error in a previous PR --- salt/modules/win_repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/modules/win_repo.py b/salt/modules/win_repo.py index 164206f49b..80ea7e7d91 100644 --- a/salt/modules/win_repo.py +++ b/salt/modules/win_repo.py @@ -18,7 +18,7 @@ import salt.output import salt.utils import salt.loader import salt.template -from salt.exceptions import CommandExecutionError +from salt.exceptions import CommandExecutionError, SaltRenderError from salt.runners.winrepo import ( genrepo as _genrepo, update_git_repos as _update_git_repos @@ -165,7 +165,7 @@ def show_sls(name, saltenv='base'): __opts__['renderer']) # Dump return the error if any - except SaltRenderError as exc: # pylint: disable=E0602 + except SaltRenderError as exc: log.debug('Failed to compile {0}.'.format(sls_file)) log.debug('Error: {0}.'.format(exc)) config['Message'] = 'Failed to compile {0}'.format(sls_file)