Skip to content

Commit

Permalink
SafeConfigParser not available in pythno 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
digiserg committed Jul 11, 2024
1 parent fb4f0de commit 16cb887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v6.0.0-ACv4.0.7/cqlshlib/sslhandling.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def ssl_settings(host, config_file, env=os.environ, varsManifest=None, varsValue
either in the config file or as an environment variable.
Environment variables override any options set in cqlsh config file.
"""
configs = configparser.SafeConfigParser()
configs = configparser.SafeConfigParser() if sys.version_info < (3, 2) else configparser.ConfigParser()
configs.read(config_file)

# For Cassandra Workbench Variables Feature
Expand Down

0 comments on commit 16cb887

Please sign in to comment.