Skip to content

Commit 4a89f79

Browse files
SouradeepSahaLinuxJedi
authored andcommitted
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.
1 parent 008bdda commit 4a89f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/additions/source_mariadb-10.5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from __future__ import print_function, unicode_literals
88
import os, os.path
99

10-
from apport.hookutils import *
10+
from apport.hookutils import path_to_key, read_file, attach_conffiles, attach_mac_events, attach_file
1111

1212
def _add_my_conf_files(report, filename):
1313
key = 'MySQLConf' + path_to_key(filename)

0 commit comments

Comments
 (0)