Viewing File: /usr/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
Back to Directory File Manager