Current File : //lib/python2.7/site-packages/cloudinit/config/cc_locale.pyo
�
oB�]c@s#dZddlmZd�ZdS(s_
Locale
------
**Summary:** set system locale

Configure the system locale and apply it system wide. By default use the locale
specified by the datasource.

**Internal name:** ``cc_locale``

**Module frequency:** per instance

**Supported distros:** all

**Config keys**::

    locale: <locale str>
    locale_configfile: <path to locale config file>
i����(tutilcCs�t|�dkr|d}ntj|d|j��}tj|�r`|jd||�dS|jd|�tj|d�}|jj||�dS(Nitlocales0Skipping module named %s, disabled by config: %ssSetting locale to %stlocale_configfile(tlenRtget_cfg_option_strt
get_localetis_falsetdebugtdistrotapply_locale(tnametcfgtcloudtlogtargsRtlocale_cfgfile((s>/usr/lib/python2.7/site-packages/cloudinit/config/cc_locale.pythandle s
	
N(t__doc__t	cloudinitRR(((s>/usr/lib/python2.7/site-packages/cloudinit/config/cc_locale.pyt<module>s