def save(self):
        fn = self.config_file
        try:
            os.makedirs(self.config_home)
        except __HOLE__:
            pass
        with open(fn, 'w') as f:
            return toml.dump(self.config, f)
dataset/ETHPy150Open mitsuhiko/osx-openconnect-helper/openconnect_helper.py/ProfileManager.save