-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port #52305 to master #56785
Port #52305 to master #56785
Conversation
@xeacott Test failures look legit |
salt/fileclient.py
Outdated
@@ -46,8 +47,6 @@ | |||
) | |||
from salt.utils.openstack.swift import SaltSwift | |||
|
|||
# pylint: enable=no-name-in-module,import-error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not down with removing these for the whole file.
salt/fileclient.py
Outdated
@@ -551,7 +571,7 @@ def s3_opt(key, default=None): | |||
https_enable=s3_opt("https_enable", True), | |||
) | |||
return dest | |||
except Exception as exc: # pylint: disable=broad-except |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be changing unless we are actually going to put a more applicable exception type here (which would be the preference).
Thanks for reviewing, I'll add them back. This PR was very troublesome not sure how all the extra changes weren't caught by the linter... |
What does this PR do?
What issues does this PR fix or reference?
Fixes:
Previous Behavior
Remove this section if not relevant
New Behavior
Remove this section if not relevant
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes/No
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.