Skip to content

Commit

Permalink
Bug 1718630 - Use mozversion to get the version of the browser r=perf…
Browse files Browse the repository at this point in the history
…test-reviewers,davehunt

Differential Revision: https://phabricator.services.mozilla.com/D122854
  • Loading branch information
Alex Ionescu committed Aug 19, 2021
1 parent 83a2618 commit 4b736bb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions testing/condprofile/condprof/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4b736bb

Please sign in to comment.