summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorjunji hashimoto <junjihashimoto@users.noreply.github.com>2019-04-10 22:52:26 +0900
committerSam Doran <sdoran@redhat.com>2019-04-10 09:52:26 -0400
commitc3e50db1d58e61e1b0cc00ec2df1cc6bf9710b63 (patch)
tree6c43bda785eeb28dd3c6fe7fd34f15d31660df49 /contrib
parent3f579eb68ff9100884e31c5570bd275d9d60e69a (diff)
downloadansible-c3e50db1d58e61e1b0cc00ec2df1cc6bf9710b63.tar.gz
Renamed SafeConfigParser to ConfigParser in gce inventory script (#54974)
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/inventory/gce.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/inventory/gce.py b/contrib/inventory/gce.py
index 89a08fbd13..0a7df3f52a 100755
--- a/contrib/inventory/gce.py
+++ b/contrib/inventory/gce.py
@@ -184,7 +184,7 @@ class GceInventory(object):
"""
Reads the settings from the gce.ini file.
- Populates a SafeConfigParser object with defaults and
+ Populates a ConfigParser object with defaults and
attempts to read an .ini-style configuration from the filename
specified in GCE_INI_PATH. If the environment variable is
not present, the filename defaults to gce.ini in the current
@@ -198,7 +198,7 @@ class GceInventory(object):
# This provides empty defaults to each key, so that environment
# variable configuration (as opposed to INI configuration) is able
# to work.
- config = configparser.SafeConfigParser(defaults={
+ config = configparser.ConfigParser(defaults={
'gce_service_account_email_address': '',
'gce_service_account_pem_file_path': '',
'gce_project_id': '',