Skip to content
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

utils/path.py: fix a DeprecationWarning #52304

Merged
merged 2 commits into from
Mar 29, 2019

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Mar 25, 2019

What does this PR do?

Fix a deprecation warning:

[WARNING ] /usr/lib/python3.7/site-packages/salt/utils/path.py:265:
DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from 'collections.abc' is deprecated, and in 3.8 it will
stop working
if not isinstance(exes, collection.Iterable):

Fix DeprecationWarning about using or importing ABCs from collections,
instead of from 'collections.abc'
@aplanas aplanas force-pushed the fix_deprecationwarning_collections branch from dafd767 to b19ccb7 Compare March 25, 2019 13:31
@aplanas aplanas changed the title Fix DeprecationWarnings about collection.abc.Iterable utils/path.py: fix a DeprecationWarning Mar 25, 2019
@Ch3LL Ch3LL merged commit 7f935c5 into saltstack:develop Mar 29, 2019
@aplanas aplanas deleted the fix_deprecationwarning_collections branch March 29, 2019 14:43
garethgreenaway added a commit to garethgreenaway/salt that referenced this pull request Sep 19, 2019
dwoz added a commit that referenced this pull request Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants