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
7e51746d2d
commit
8c6eaea3c9
1 changed files with 2 additions and 2 deletions
|
@ -590,7 +590,7 @@ class Client(object):
|
|||
ftp.retrbinary("RETR {0}".format(remote_file_path), fp_.write)
|
||||
ftp.quit()
|
||||
return dest
|
||||
except Exception as exc:
|
||||
except Exception as exc: # pylint: disable=broad-except
|
||||
raise MinionError(
|
||||
"Could not retrieve {0} from FTP server. Exception: {1}".format(
|
||||
url, exc
|
||||
|
@ -620,7 +620,7 @@ class Client(object):
|
|||
|
||||
swift_conn.get_object(url_data.netloc, url_data.path[1:], dest)
|
||||
return dest
|
||||
except Exception:
|
||||
except Exception: # pylint: disable=broad-except
|
||||
raise MinionError("Could not fetch from {0}".format(url))
|
||||
|
||||
get_kwargs = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue