def _read_gcloud_config():
 gcloud_output = subprocess.check_output('gcloud config list', shell=True)
 gcloud_output_as_unicode = gcloud_output.decode('utf-8')
 cloud_cfg = configparser.RawConfigParser(allow_no_value=True)
 cloud_cfg.readfp(io.StringIO(gcloud_output_as_unicode))
 return _cfg_to_dot_path_dict(cloud_cfg)

def _read_gcloud_config ( ) : gcloud_output = subprocess . check_output ( 'gcloud config list' , shell = True ) gcloud_output_as_unicode = gcloud_output . decode ( 'utf-8' ) cloud_cfg = configparser . RawConfigParser ( allow_no_value = True ) cloud_cfg . readfp ( io . StringIO ( gcloud_output_as_unicode ) ) return _cfg_to_dot_path_dict ( cloud_cfg )
read in gcloud sdk config defaults .