locales
index
/home/aki/wrk/git-mozharness-ro/mozharness/mozilla/l10n/locales.py

Localization.

 
Modules
       
os
sys

 
Classes
       
__builtin__.object
GaiaLocalesMixin
mozharness.base.parallel.ChunkingMixin(__builtin__.object)
LocalesMixin

 
class GaiaLocalesMixin(__builtin__.object)
    GaiaLocalesMixin {{{1
 
  Methods defined here:
pull_gaia_locale_source(self, l10n_config, locales, base_dir)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
gaia_locale_revisions = None

 
class LocalesMixin(mozharness.base.parallel.ChunkingMixin)
    LocalesMixin {{{1
 
 
Method resolution order:
LocalesMixin
mozharness.base.parallel.ChunkingMixin
__builtin__.object

Methods defined here:
__init__(self, **kwargs)
Mixins generally don't have an __init__.
This breaks super().__init__() for children.
However, this is needed to override the query_abs_dirs()
list_locales(self)
Stub action method.
parse_locales_file(self, locales_file)
pull_locale_source(self, hg_l10n_base=None, parent_dir=None, vcs='hg')
# This requires self to inherit a VCSMixin.
query_abs_dirs(self)
query_locales(self)
run_compare_locales(self, locale, halt_on_failure=False)

Methods inherited from mozharness.base.parallel.ChunkingMixin:
query_chunked_list(self, possible_list, this_chunk, total_chunks, sort=False)
Split a list of items into a certain number of chunks and
return the subset of that will occur in this chunk.
 
Ported from build.l10n.getLocalesForChunk in build/tools.

Data descriptors inherited from mozharness.base.parallel.ChunkingMixin:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        PythonErrorList = [{'level': 'error', 'substr': 'command not found'}, {'level': 'error', 'substr': 'Traceback (most recent call last)'}, {'level': 'error', 'substr': 'SyntaxError: '}, {'level': 'error', 'substr': 'TypeError: '}, {'level': 'error', 'substr': 'NameError: '}, {'level': 'error', 'substr': 'ZeroDivisionError: '}, {'level': 'critical', 'regex': <_sre.SRE_Pattern object at 0xb7e2a9c0>}, {'level': 'critical', 'regex': <_sre.SRE_Pattern object at 0xb7d6b0c0>}]