Skip to content

Commit

Permalink
Replace misstyped 'raise' with 'return'.
Browse files Browse the repository at this point in the history
  • Loading branch information
akolic committed Sep 5, 2024
1 parent d1f3448 commit 3cfe9c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Jsonnet files should not include this file directly but use ci/common.jsonnet instead."
],

"mx_version": "7.29.5",
"mx_version": "7.29.6",

"COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet",
"jdks": {
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 @@ -18196,7 +18196,7 @@ def alarm_handler(signum, frame):
_CACHE_DIR = get_env('MX_CACHE_DIR', join(dot_mx_dir(), 'cache'))

# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
version = VersionSpec("7.29.6") # GR-56803
version = VersionSpec("7.29.7") # GR-57947 replace misstyped 'raise' with 'return'

_mx_start_datetime = datetime.utcnow()

Expand Down
2 changes: 1 addition & 1 deletion src/mx/_impl/mx_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@ def run_java(self, args, out=None, err=None, cwd=None, nonZeroIsFatal=False):

def home(self):
"""Returns the JAVA_HOME location of that vm"""
raise mx.get_jdk().home
return mx.get_jdk().home

def run_vm(self, args, out=None, err=None, cwd=None, nonZeroIsFatal=False):
self.extract_vm_info(args)
Expand Down

0 comments on commit 3cfe9c5

Please sign in to comment.