Bug 1385435 - Use python 2.7 to run client.py in comm-central L10N repacks; r?nthomas draft production-0.8
authorTom Prince <mozilla@hocat.ca>
Mon, 31 Jul 2017 20:58:14 -0600
branchproduction-0.8
changeset 5184 6ca4346bf85d6939bceef5cbfa9c4db84c9504f6
parent 5183 db5dcf0ab65d4eb4a20c94fd5c51a0cf33644504
child 5185 e29be2a248e598e61e3777f7d3a5f3fec3f4ef30
push id3666
push userbmo:mozilla@hocat.ca
push dateTue, 01 Aug 2017 03:02:51 +0000
reviewersnthomas
bugs1385435
Bug 1385435 - Use python 2.7 to run client.py in comm-central L10N repacks; r?nthomas MozReview-Commit-ID: 2HaqmfvXl73
process/factory.py
--- a/process/factory.py
+++ b/process/factory.py
@@ -2944,17 +2944,17 @@ class BaseRepackFactory(MozillaBuildFact
         if self.callClientPy:
             self.addClientPySteps()
 
     def addClientPySteps(self):
         c = self.clientPyConfig
 
         # build up the checkout command with all options
         skipBlankRepos = c.get('skip_blank_repos', False)
-        co_command = ['python', 'client.py', 'checkout']
+        co_command = ['python2.7', 'client.py', 'checkout']
         if c.get('moz_repo_path'):
             co_command.append('--mozilla-repo=%s' %
                               self.getRepository(c.get('moz_repo_path')))
         if c.get('inspector_repo_path'):
             co_command.append('--inspector-repo=%s' % self.getRepository(
                 c.get('inspector_repo_path')))
         elif skipBlankRepos:
             co_command.append('--skip-inspector')