From ff48f8c91667c4551afdcff766c7cf296cf650bc Mon Sep 17 00:00:00 2001 From: Daniel Rupp Date: Thu, 23 Dec 2021 12:10:36 +0100 Subject: [PATCH] Update plugins/modules/mysql_user.py Co-authored-by: Andrew Klychkov --- plugins/modules/mysql_user.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/modules/mysql_user.py b/plugins/modules/mysql_user.py index 8280213..85fa286 100644 --- a/plugins/modules/mysql_user.py +++ b/plugins/modules/mysql_user.py @@ -388,9 +388,6 @@ def main(): if mysql_driver is None: module.fail_json(msg=mysql_driver_fail_msg) - - if db_context: - db = 'mysql' cursor = None try: