From 3a097063d92e94a74c7e970c0878107a7c649723 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sat, 17 Feb 2018 12:03:12 +0100 Subject: [PATCH] Drop duplicate imports from apt_repository module (#36320) * Drop duplicate imports from apt_repository module * Drop json import from apt_repository module --- lib/ansible/modules/packaging/os/apt_repository.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/ansible/modules/packaging/os/apt_repository.py b/lib/ansible/modules/packaging/os/apt_repository.py index 7c2ca9f896..044096be33 100644 --- a/lib/ansible/modules/packaging/os/apt_repository.py +++ b/lib/ansible/modules/packaging/os/apt_repository.py @@ -108,11 +108,7 @@ import os import re import sys import tempfile -import json -# import module snippets -from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils.urls import fetch_url -from ansible.module_utils._text import to_native + try: import apt import apt_pkg