Skip to content

Commit

Permalink
[GR-50341] Fix mx mergetool-suite-import
Browse files Browse the repository at this point in the history
PullRequest: mx/1747
  • Loading branch information
zapster committed Feb 10, 2024
2 parents 2fe0e3c + d1a1e46 commit b1295de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mx/_impl/mergetool.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def read_suite_imports(filename):
exec(local_fp.read(), my_globals, my_locals) # pylint: disable=exec-used
except Exception as ex: # pylint: disable=broad-except
_fallback(f"Cannot load suite file {filename}: {ex}")
return locals.get("suite", {}).get("imports", {}).get("suites")
return my_locals.get("suite", {}).get("imports", {}).get("suites")

def to_import_dict(suite_imports):
return {s["name"]: s["version"] for s in suite_imports if "version" in s}
Expand Down
2 changes: 1 addition & 1 deletion src/mx/_impl/mx.py
Original file line number Diff line number Diff line change
Expand Up @@ -19245,7 +19245,7 @@ def alarm_handler(signum, frame):
abort(1, killsig=signal.SIGINT)

# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
version = VersionSpec("7.9.1") # GR-51960: make fetch-jdk work on Windows
version = VersionSpec("7.9.2") # fix mx mergetool-suite-import

_mx_start_datetime = datetime.utcnow()

Expand Down

0 comments on commit b1295de

Please sign in to comment.