From 4b736bb2cadf024cdc76731008d07fcb07eb0e09 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Thu, 19 Aug 2021 11:50:17 +0000 Subject: [PATCH] Bug 1718630 - Use mozversion to get the version of the browser r=perftest-reviewers,davehunt Differential Revision: https://phabricator.services.mozilla.com/D122854 --- testing/condprofile/condprof/runner.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/testing/condprofile/condprof/runner.py b/testing/condprofile/condprof/runner.py index 73df1055aee8f..6cd4fc7a17537 100644 --- a/testing/condprofile/condprof/runner.py +++ b/testing/condprofile/condprof/runner.py @@ -8,12 +8,14 @@ import shutil import asyncio +import mozversion + from condprof.creator import ProfileCreator from condprof.desktop import DesktopEnv from condprof.android import AndroidEnv from condprof.changelog import Changelog from condprof.scenarii import scenarii -from condprof.util import logger, get_version, get_current_platform, extract_from_dmg +from condprof.util import logger, get_current_platform, extract_from_dmg from condprof.customization import get_customizations, find_customization from condprof.client import read_changelog, ProfileNotFoundError @@ -79,8 +81,7 @@ def prepare(self, scenario, customization): if not os.path.exists(self.firefox): raise IOError("Cannot find %s" % self.firefox) - version = get_version(self.firefox) - logger.info("Working with Firefox %s" % version) + mozversion.get_version(self.firefox) logger.info(os.environ) if self.archive: