Bug 1365477 - Use default=is_nightly instead of default=delayed_getattr(...). r?chmanchester draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 17 May 2017 12:08:33 +0900
changeset 579218 9907838fa0f5590855984b61b285eb44e23195fb
parent 579212 45e204034f66111d233a2c2d3004ff0003e071cd
child 579219 8262ce1e9342a7c80db2c85d431828b2cc04129c
push id59164
push userbmo:mh+mozilla@glandium.org
push dateWed, 17 May 2017 03:20:02 +0000
reviewerschmanchester
bugs1365477, 1363811, 1358215
milestone55.0a1
Bug 1365477 - Use default=is_nightly instead of default=delayed_getattr(...). r?chmanchester Per bug 1363811 comment 1, it's actually a bug that the linter doesn't complain about it like it did in bug 1358215.
mobile/android/moz.configure
--- a/mobile/android/moz.configure
+++ b/mobile/android/moz.configure
@@ -58,17 +58,17 @@ project_flag('MOZ_ANDROID_MLS_STUMBLER',
              default=True)
 
 project_flag('MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE',
              help='Background service for downloading additional content at runtime',
              default=True)
 
 project_flag('MOZ_ANDROID_CUSTOM_TABS',
              help='Enable support for Android custom tabs',
-             default=delayed_getattr(milestone, 'is_nightly'))
+             default=is_nightly)
 
 # Enable the Switchboard A/B framework code.
 # Note: The framework is always included in the app. This flag controls
 # usage of the framework.
 project_flag('MOZ_SWITCHBOARD',
              help='Include Switchboard A/B framework on Android',
              default=True)