From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- testing/mozbase/mozgeckoprofiler/mozgeckoprofiler/symbolication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/mozbase/mozgeckoprofiler') diff --git a/testing/mozbase/mozgeckoprofiler/mozgeckoprofiler/symbolication.py b/testing/mozbase/mozgeckoprofiler/mozgeckoprofiler/symbolication.py index ecec5c1d9d..f7617a4e91 100644 --- a/testing/mozbase/mozgeckoprofiler/mozgeckoprofiler/symbolication.py +++ b/testing/mozbase/mozgeckoprofiler/mozgeckoprofiler/symbolication.py @@ -5,9 +5,9 @@ import hashlib import http.client import os import platform +import shutil import subprocess import zipfile -from distutils import spawn import six from mozlog import get_proxy_logger @@ -95,7 +95,7 @@ class OSXSymbolDumper: class LinuxSymbolDumper: def __init__(self): - self.nm = spawn.find_executable("nm") + self.nm = shutil.which("nm") if not self.nm: raise SymbolError("Could not find nm, necessary for symbol dumping") -- cgit v1.2.3