(cfg_file, user_info)
Write configuration file
Write configuration file
Write configuration file
def _write_cfg_file(cfg_file, user_info):
    """Write configuration file"""
    with open(cfg_file, 'w') as fd:
        json.dump(user_info, fd)
def _write_cfg_file ( cfg_file , user_info ) : with open ( cfg_file , 'w' ) as fd : json . dump ( user_info , fd )