diff options
Diffstat (limited to 'linhes/linhes-system/add_storage.py')
-rwxr-xr-x | linhes/linhes-system/add_storage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linhes/linhes-system/add_storage.py b/linhes/linhes-system/add_storage.py index e880884..2d300a3 100755 --- a/linhes/linhes-system/add_storage.py +++ b/linhes/linhes-system/add_storage.py @@ -725,7 +725,7 @@ def reconstruct_storagegroups(): host=gethostname() for conf_file in glob.glob('%s/*.conf' %storage_dir): - parser = SafeConfigParser() + parser = ConfigParser() parser.read(conf_file) try: mount_point = parser.get('storage', 'mountpoint') @@ -816,7 +816,7 @@ def reconstruct_storagegroups(): class reconstruct_path: def __init__(self,conf_file): self.conf_file = conf_file - parser = SafeConfigParser() + parser = ConfigParser() parser.read(self.conf_file) self.config = configparser.RawConfigParser() |