
    x[h              
           U d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ dd	geg d
Ze	ed<    ej                  e      Zdededededdf
dZy)zLocale: set system locale    N)util)Cloud)Config)
MetaSchema)PER_INSTANCE	cc_localeall)iddistros	frequencyactivate_by_schema_keysmetanamecfgcloudargsreturnc                 H   |r|d   }n%t        j                  |d|j                               }t        j                  |      rt        j                  d| |       y t        j                  d|       t        j                  |d      }|j                  j                  ||       y )Nr   localez0Skipping module named %s, disabled by config: %szSetting locale to %slocale_configfile)r   get_cfg_option_str
get_localeis_falseLOGdebugdistroapply_locale)r   r   r   r   r   locale_cfgfiles         </usr/lib/python3/dist-packages/cloudinit/config/cc_locale.pyhandler       s    a((h8H8H8JK}}V		>f	
 	II$f-,,S2EFN	LLfn5    )__doc__logging	cloudinitr   cloudinit.cloudr   cloudinit.configr   cloudinit.config.schemar   cloudinit.settingsr   r   __annotations__	getLogger__name__r   strlistr     r!   r   <module>r/      sv        ! # . + w!	j  g!6 66 6% 6t 6 6r!   