Update plugins/modules/mysql_user.py

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
Daniel Rupp 2021-12-23 12:10:36 +01:00 committed by GitHub
commit ff48f8c916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: