mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add back removed pylint
This commit is contained in:
parent
7d6e441ca9
commit
7e51746d2d
1 changed files with 3 additions and 1 deletions
|
@ -47,6 +47,8 @@ from salt.ext.tornado.httputil import (
|
|||
)
|
||||
from salt.utils.openstack.swift import SaltSwift
|
||||
|
||||
# pylint: enable=no-name-in-module,import-error
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
MAX_FILENAME_LENGTH = 255
|
||||
|
||||
|
@ -571,7 +573,7 @@ class Client(object):
|
|||
https_enable=s3_opt("https_enable", True),
|
||||
)
|
||||
return dest
|
||||
except Exception as exc:
|
||||
except Exception as exc: # pylint: disable=broad-except
|
||||
raise MinionError(
|
||||
"Could not fetch from {0}. Exception: {1}".format(url, exc)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue