diff options
Diffstat (limited to 'taskcluster/gecko_taskgraph/transforms/condprof.py')
-rw-r--r-- | taskcluster/gecko_taskgraph/transforms/condprof.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/taskcluster/gecko_taskgraph/transforms/condprof.py b/taskcluster/gecko_taskgraph/transforms/condprof.py index 516c1d8f20..f39a9b09ab 100644 --- a/taskcluster/gecko_taskgraph/transforms/condprof.py +++ b/taskcluster/gecko_taskgraph/transforms/condprof.py @@ -28,7 +28,7 @@ diff_description_schema = Schema( Optional("run-on-projects"): task_description_schema["run-on-projects"], Optional("scopes"): task_description_schema["scopes"], Optional("treeherder"): task_description_schema["treeherder"], - Optional("use-system-python"): bool, + Optional("use-python"): job_description_schema["use-python"], Optional("worker"): job_description_schema["worker"], Optional("worker-type"): task_description_schema["worker-type"], } @@ -84,8 +84,8 @@ def generate_scenarios(config, tasks): "fetches": copy_task(task["fetches"]), } - use_system_python = task.get("use-system-python", None) - if use_system_python is not None: - taskdesc["use-system-python"] = use_system_python + use_taskcluster_python = task.get("use-python", "system") + if use_taskcluster_python != "system": + taskdesc["use-python"] = use_taskcluster_python yield taskdesc |