Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: mozharness/mozilla/l10n/multi_locale_build.py

Issue 29327949: Issue 3047 - Change default search engines (Closed)
Left Patch Set: trim()/strip() Created Sept. 17, 2015, 10:51 a.m.
Right Patch Set: Fixed even more review issues Created Sept. 22, 2015, 10:53 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « mozharness/abb/transform_locales.py ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # ***** BEGIN LICENSE BLOCK ***** 2 # ***** BEGIN LICENSE BLOCK *****
3 # This Source Code Form is subject to the terms of the Mozilla Public 3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 # You can obtain one at http://mozilla.org/MPL/2.0/. 5 # You can obtain one at http://mozilla.org/MPL/2.0/.
6 # ***** END LICENSE BLOCK ***** 6 # ***** END LICENSE BLOCK *****
7 """multi_locale_build.py 7 """multi_locale_build.py
8 8
9 This should be a mostly generic multilocale build script. 9 This should be a mostly generic multilocale build script.
10 """ 10 """
11 11
12 from copy import deepcopy 12 from copy import deepcopy
13 import os 13 import os
14 import sys 14 import sys
15 15
16 sys.path.insert(1, os.path.dirname(os.path.dirname(sys.path[0]))) 16 sys.path.insert(1, os.path.dirname(os.path.dirname(sys.path[0])))
17 17
18 from mozharness.base.errors import MakefileErrorList, SSHErrorList 18 from mozharness.base.errors import MakefileErrorList, SSHErrorList
19 from mozharness.base.log import FATAL 19 from mozharness.base.log import FATAL
20 from mozharness.base.vcs.vcsbase import MercurialScript 20 from mozharness.base.vcs.vcsbase import MercurialScript
21 from mozharness.mozilla.l10n.locales import LocalesMixin 21 from mozharness.mozilla.l10n.locales import LocalesMixin
22 from mozharness.abb.abb_transform_locales import transform_locales as abb_transf orm_locales 22 from mozharness.abb.transform_locales import transform_locales as abb_transform_ locales
23 23
24 24
25 # MultiLocaleBuild {{{1 25 # MultiLocaleBuild {{{1
26 class MultiLocaleBuild(LocalesMixin, MercurialScript): 26 class MultiLocaleBuild(LocalesMixin, MercurialScript):
27 """ This class targets Fennec multilocale builds. 27 """ This class targets Fennec multilocale builds.
28 We were considering this for potential Firefox desktop multilocale. 28 We were considering this for potential Firefox desktop multilocale.
29 Now that we have a different approach for B2G multilocale, 29 Now that we have a different approach for B2G multilocale,
30 it's most likely misnamed. """ 30 it's most likely misnamed. """
31 config_options = [[ 31 config_options = [[
32 ["--locale"], 32 ["--locale"],
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 """ 249 """
250 return self.run_command(**kwargs) 250 return self.run_command(**kwargs)
251 251
252 def abb_transform_locales(self): 252 def abb_transform_locales(self):
253 dirs = self.query_abs_dirs() 253 dirs = self.query_abs_dirs()
254 abb_transform_locales(dirs['abs_objdir'], self) 254 abb_transform_locales(dirs['abs_objdir'], self)
255 255
256 # __main__ {{{1 256 # __main__ {{{1
257 if __name__ == '__main__': 257 if __name__ == '__main__':
258 pass 258 pass
LEFTRIGHT

Powered by Google App Engine
This is Rietveld