File: //proc/self/root/proc/self/root/opt/alt/python27/lib/python2.7/site-packages/babel/localedata.pyc
�
���Qc @ s� d Z d d l Z d d l Z d d l m Z d d l m Z i Z e j � Z e j
j e j
j e
� d � Z d � Z d � Z e d � Z d � Z d
e f d � � YZ d e f d
� � YZ d S( sB
babel.localedata
~~~~~~~~~~~~~~~~
Low-level locale data access.
:note: The `Locale` class, which uses this module under the hood, provides a
more convenient interface for accessing the locale data.
:copyright: (c) 2013 by the Babel Team.
:license: BSD, see LICENSE for more details.
i����N( t MutableMapping( t picklet
localedatac C s3 | t k r t St j j t j j t d | � � S( s� Check whether locale data is available for the given locale. Ther
return value is `True` if it exists, `False` otherwise.
:param name: the locale identifier string
s %s.dat( t _cachet Truet ost patht existst joint _dirname( t name( ( sA /opt/alt/python27/lib/python2.7/site-packages/babel/localedata.pyR s c C s] g g t j t � D] } t j j | � ^ q D]* \ } } | d k r/ | d k r/ | ^ q/ S( s� Return a list of all locale identifiers for which locale data is
available.
.. versionadded:: 0.8.1
:return: a list of locale identifiers (strings)
s .datt root( R t listdirR R t splitext( t filenamet stemt extension( ( sA /opt/alt/python27/lib/python2.7/site-packages/babel/localedata.pyt locale_identifiers&