Browse files

Bug 762357: Support l10n_slaves_key for release repacks. r=bhearsum

--HG--
branch : production-0.8
extra : transplant_source : %B2%85%C2%E31%B1%28x%60%E8/%25%066.%C5%C2%179k
  • Loading branch information...
1 parent 7aeaafe commit 5049d6ae76e0580d0bdb94f3ddaab6930ed17693 @catlee catlee committed Jun 7, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 process/release.py
View
7 process/release.py
@@ -713,9 +713,10 @@ def hasPlatformSubstring(platforms, substring):
scriptName='scripts/l10n/release_repacks.sh',
extra_args=extra_args,
)
+ l10n_slaves_key = pf.get('l10n_slaves_key', platform)
builders.append({
'name': builderPrefix("standalone_repack", platform),
- 'slavenames': branchConfig['l10n_slaves'][platform],
+ 'slavenames': branchConfig['l10n_slaves'][l10n_slaves_key],
'category': builderPrefix(''),
'builddir': builderPrefix("standalone_repack", platform),
'factory': standalone_factory,
@@ -764,9 +765,11 @@ def hasPlatformSubstring(platforms, substring):
builddir = builderPrefix('%s_repack' % platform) + \
'_' + str(n)
+
+ l10n_slaves_key = pf.get('l10n_slaves_key', platform)
builders.append({
'name': builderName,
- 'slavenames': branchConfig['l10n_slaves'][platform],
+ 'slavenames': branchConfig['l10n_slaves'][l10n_slaves_key],
'category': builderPrefix(''),
'builddir': builddir,
'slavebuilddir': reallyShort(builddir, releaseConfig['productName']),

0 comments on commit 5049d6a

Please sign in to comment.