diff options
author | Matt Clay <matt@mystile.com> | 2022-03-03 15:48:49 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2022-03-04 10:33:02 -0800 |
commit | 8b2e6285650ec42ec4a19075a8567047e8304ba2 (patch) | |
tree | 9a2681b2476936c4e6a79813fb3560af4881b435 /lib/ansible/galaxy/api.py | |
parent | 0990c4ca7cb1b239a76e8cdb78af01ca9601731e (diff) | |
download | ansible-8b2e6285650ec42ec4a19075a8567047e8304ba2.tar.gz |
galaxy - Clean up type hints and imports.
Diffstat (limited to 'lib/ansible/galaxy/api.py')
-rw-r--r-- | lib/ansible/galaxy/api.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/ansible/galaxy/api.py b/lib/ansible/galaxy/api.py index 0e761a3f5b..6b81c1ab3d 100644 --- a/lib/ansible/galaxy/api.py +++ b/lib/ansible/galaxy/api.py @@ -31,12 +31,6 @@ from ansible.utils.display import Display from ansible.utils.hashing import secure_hash_s from ansible.utils.path import makedirs_safe -try: - from urllib.parse import urlparse -except ImportError: - # Python 2 - from urlparse import urlparse - display = Display() _CACHE_LOCK = threading.Lock() COLLECTION_PAGE_SIZE = 100 |