mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1659836 - Don't log to telemetry for mach create-mach-environment
r=mhentges,froydnj
`mach create-mach-environment` is what installs `glean_sdk` to the `mach` `virtualenv`. `create-mach-environment` runs on the system Python and we can't assume the system Python has `glean_sdk` installed. Differential Revision: https://phabricator.services.mozilla.com/D87507
This commit is contained in:
parent
0541f523d9
commit
d7122f80af
@ -284,10 +284,12 @@ def bootstrap(topsrcdir, mozilla_dir=None):
|
||||
|
||||
def should_skip_telemetry_submission(handler):
|
||||
# The user is performing a maintenance command.
|
||||
if handler.name in ('bootstrap', 'doctor', 'mach-commands', 'vcs-setup',
|
||||
# We call mach environment in client.mk which would cause the
|
||||
# data submission to block the forward progress of make.
|
||||
'environment'):
|
||||
if handler.name in (
|
||||
'bootstrap', 'doctor', 'mach-commands', 'vcs-setup',
|
||||
'create-mach-environment',
|
||||
# We call mach environment in client.mk which would cause the
|
||||
# data submission to block the forward progress of make.
|
||||
'environment'):
|
||||
return True
|
||||
|
||||
# Never submit data when running in automation or when running tests.
|
||||
|
Loading…
Reference in New Issue
Block a user