Fix linting issues

pull/83835/head
Andy Foston 3 months ago
parent 61c41c4fdf
commit ecd3935c07

@ -187,8 +187,6 @@ from ansible.module_utils.common.respawn import has_respawned, probe_interpreter
from ansible.module_utils.common.text.converters import to_native
from ansible.module_utils.urls import fetch_file, fetch_url
from ansible.module_utils.common.locale import get_best_parsable_locale
try:
import apt
import apt_pkg
@ -530,7 +528,6 @@ class UbuntuSourcesList(SourcesList):
if not self.module.check_mode:
# use first available key dir, in order of preference
keyserver_url = "https://keyserver.ubuntu.com/pks/lookup?{}".format(
urlencode({"op": "get", "search": "0x" + info['signing_key_fingerprint']})
)

Loading…
Cancel
Save