mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-18 16:31:26 -07:00
fix CI
This commit is contained in:
parent
39a4f32540
commit
d3486a16c8
2 changed files with 8 additions and 2 deletions
|
@ -35,7 +35,7 @@ mysql_driver_fail_msg = 'The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python
|
|||
def parse_from_mysql_config_file(cnf):
|
||||
# Default values of comment_prefix is '#' and ';'.
|
||||
# '!' added to prevent a parsing error
|
||||
# when a config file contains !include_dir parameter.
|
||||
# when a config file contains !includedir parameter.
|
||||
cp = configparser.ConfigParser(comment_prefixes=('#', ';', '!'))
|
||||
cp.read(cnf)
|
||||
return cp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue