hi again
Sorry, I didn't include the line numbers in the patch. The patch should
be:
================================================================================
--- python/mach/mach/telemetry.py.orig 2023-10-21 00:34:41.135764889 +0200
+++ python/mach/mach/telemetry.py 2023-10-21 01:08:02.500039001 +0200
@@ -99,7 +99,9 @@
def is_telemetry_enabled(settings):
- if os.environ.get("DISABLE_TELEMETRY") == "1":
+ if os.environ.get("DISABLE_TELEMETRY") == "0":
+ return True
+ else:
return False
return settings.mach_telemetry.is_enabled
================================================================================
The same suggestion patch is at https://paste.debian.net/1295726 (email clients
may
modify the formatting when viewing this email).
My guess is that the initialize_telemetry_setting() part starting on line 281
is either
for the case where someone is a Mozilla employee or uses the script
interactively,
so the section probably doesn't need to be changed.
Cheers
Boud