Bug 1340689 - Fix typo causing every build to be a Nightly according to Perfherder. draft
authorChris Manchester <cmanchester@mozilla.com>
Fri, 17 Feb 2017 13:38:36 -0800
changeset 486358 9d18000b28719683be3742b76b65cb939c3d92b6
parent 484626 ec3ef9f77a52693e9732ca480df16017af0d9504
child 546231 1ef19a2b9ed6b986eff03f6849245c6898040aa6
push id45969
push userbmo:cmanchester@mozilla.com
push dateFri, 17 Feb 2017 21:43:19 +0000
bugs1340689
milestone54.0a1
Bug 1340689 - Fix typo causing every build to be a Nightly according to Perfherder. MozReview-Commit-ID: 9UlWUPAnf1a
testing/mozharness/mozharness/mozilla/building/buildbase.py
--- a/testing/mozharness/mozharness/mozilla/building/buildbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py
@@ -1992,17 +1992,17 @@ or run without that action (ie: --no-{ac
                 "alertThreshold": 0.25,
                 "subtests": size_measurements
             })
 
         build_metrics = self._load_build_resources()
         if build_metrics:
             perfherder_data['suites'].append(build_metrics)
 
-        if self.query_is_nightly:
+        if self.query_is_nightly():
             for suite in perfherder_data['suites']:
                 if 'extraOptions' in suite:
                     suite['extraOptions'] = ['nightly'] + suite['extraOptions']
                 else:
                     suite['extraOptions'] = ['nightly']
 
         if perfherder_data["suites"]:
             self.info('PERFHERDER_DATA: %s' % json.dumps(perfherder_data))