mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-21 21:41:46 -07:00
Cut condition to display any name that is return
In case of MySQLdb is renamed in mysqlclient. In that case, the integration tests will catch this the day we update the connector version.
This commit is contained in:
parent
2f204eb0c6
commit
37408c8eb3
1 changed files with 0 additions and 3 deletions
|
@ -47,9 +47,6 @@ def get_connector_name(connector):
|
|||
if connector is None or not hasattr(connector, '__name__'):
|
||||
return 'Unknown'
|
||||
|
||||
if connector.__name__ not in ['pymysql', 'MySQLdb']:
|
||||
return 'Unknown'
|
||||
|
||||
return connector.__name__
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue