Commit 4a89f79b authored by Souradeep Saha's avatar Souradeep Saha Committed by Andrew Hutchings

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.
parent 008bddaa
......@@ -7,7 +7,7 @@ Author: Mathias Gug <mathias.gug@canonical.com>
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment