def getReleaseLocalesForChunk(productName, appName, version, buildNumber, sourceRepo, platform, chunks, thisChunk, hg='https://hg.mozilla.org'): possibleLocales = getPlatformLocales( getShippedLocales(productName, appName, version, buildNumber, sourceRepo, hg), (platform,) )[platform] return getLocalesForChunk(possibleLocales, chunks, thisChunk)
def getReleaseLocalesForChunk(productName, appName, version, buildNumber, sourceRepo, platform, chunks, thisChunk, hg='https://hg.mozilla.org'): possibleLocales = getPlatformLocales( getShippedLocales(productName, appName, version, buildNumber, sourceRepo, hg), (platform, ))[platform] return getLocalesForChunk(possibleLocales, chunks, thisChunk)
def getReleaseLocalesFromJsonForChunk(stage_platform, chunks, thisChunk, jsonFile): possibleLocales = getPlatformLocalesFromJson( jsonFile, (stage_platform,))[stage_platform] return getLocalesForChunk(possibleLocales, chunks, thisChunk)
def getReleaseLocalesFromJsonForChunk(stage_platform, chunks, thisChunk, jsonFile): possibleLocales = getPlatformLocalesFromJson( jsonFile, (stage_platform, ))[stage_platform] return getLocalesForChunk(possibleLocales, chunks, thisChunk)