Bug 1347579 - review nits from configure add. r=aki draft
authorJustin Wood <Callek@gmail.com>
Tue, 28 Mar 2017 16:26:56 -0400
changeset 552621 0dfb992f8332b612ccd36566dca4b5b9ed9dbf47
parent 552610 41b7928009cb2160e9b91ca12a6cae386700177d
child 621873 1a58f58dfd1fac05287c47b5d5e6dc3591f2b89f
push id51418
push userCallek@gmail.com
push dateTue, 28 Mar 2017 20:27:44 +0000
reviewersaki
bugs1347579
milestone55.0a1
Bug 1347579 - review nits from configure add. r=aki MozReview-Commit-ID: ERSstuI9EmU
testing/mozharness/scripts/repackage.py
--- a/testing/mozharness/scripts/repackage.py
+++ b/testing/mozharness/scripts/repackage.py
@@ -117,25 +117,23 @@ class Repackage(BaseScript):
         """assign mozconfig."""
         c = self.config
         dirs = self.query_abs_dirs()
         abs_mozconfig_path = ''
 
         # first determine the mozconfig path
         if c.get('src_mozconfig'):
             self.info('Using in-tree mozconfig')
-            abs_mozconfig_path = os.path.join(dirs['abs_mozilla_dir'], c.get('src_mozconfig'))
+            abs_mozconfig_path = os.path.join(dirs['abs_mozilla_dir'], c['src_mozconfig'])
         else:
             self.fatal("'src_mozconfig' must be in the config "
                        "in order to determine the mozconfig.")
 
         # print its contents
-        content = self.read_from_file(abs_mozconfig_path, error_level=FATAL)
-        self.info("mozconfig content:")
-        self.info(content)
+        self.read_from_file(abs_mozconfig_path, error_level=FATAL)
 
         # finally, copy the mozconfig to a path that 'mach build' expects it to be
         self.copyfile(abs_mozconfig_path, os.path.join(dirs['abs_mozilla_dir'], '.mozconfig'))
 
     def _run_configure(self):
         dirs = self.query_abs_dirs()
         python = self.query_exe('python2.7')
         command = [python, 'mach', '--log-no-times', 'configure']