From 4a89f79b6aa05aed2ae39f0a3c968c4bb5196043 Mon Sep 17 00:00:00 2001 From: Souradeep Saha Date: Fri, 21 Jun 2024 17:17:47 +0000 Subject: [PATCH] Refactor import * with only required imports Import only the required functions instead of all the functions from the module to reduce the unnecessary functions in the namespace and prevent shadowing. Note: All code changes are non-functional. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc. --- debian/additions/source_mariadb-10.5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/additions/source_mariadb-10.5.py b/debian/additions/source_mariadb-10.5.py index eac7a054b84..68a75c467d6 100644 --- a/debian/additions/source_mariadb-10.5.py +++ b/debian/additions/source_mariadb-10.5.py @@ -7,7 +7,7 @@ Author: Mathias Gug from __future__ import print_function, unicode_literals import os, os.path -from apport.hookutils import * +from apport.hookutils import path_to_key, read_file, attach_conffiles, attach_mac_events, attach_file def _add_my_conf_files(report, filename): key = 'MySQLConf' + path_to_key(filename)