summaryrefslogtreecommitdiffstats
path: root/test/sanity/code-smell/update-bundled.py
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2021-05-11 19:33:51 +0200
committerGitHub <noreply@github.com>2021-05-11 19:33:51 +0200
commit8d1cf7f266d7a81c248838917f8df5475e4439b9 (patch)
tree9d8f03d5522f8cab41a4d1545e9ec5f4df92448d /test/sanity/code-smell/update-bundled.py
parentdocs: Add a note about `crypt` (#74640) (diff)
downloadansible-8d1cf7f266d7a81c248838917f8df5475e4439b9.tar.xz
ansible-8d1cf7f266d7a81c248838917f8df5475e4439b9.zip
Vendor `distutils.version` (#74644)
* Vendor distutils.version * Fix import order. ci_complete * remove distutils warning filter * Don't remove warnings filter from importer * ci_complete * Add pylint config for preventing distutils.version * Add changelog fragment
Diffstat (limited to 'test/sanity/code-smell/update-bundled.py')
-rwxr-xr-xtest/sanity/code-smell/update-bundled.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sanity/code-smell/update-bundled.py b/test/sanity/code-smell/update-bundled.py
index 3904b7302f..3f0fa1bee0 100755
--- a/test/sanity/code-smell/update-bundled.py
+++ b/test/sanity/code-smell/update-bundled.py
@@ -29,7 +29,7 @@ import fnmatch
import json
import re
import sys
-from distutils.version import LooseVersion
+from ansible.module_utils.compat.version import LooseVersion
import packaging.specifiers