Skip to content

Commit

Permalink
[JVMFinder] do not raise NotImplementedError, but return None (old be…
Browse files Browse the repository at this point in the history
…haviour)
  • Loading branch information
marscher committed Oct 29, 2014
1 parent 33e08a1 commit 13d680e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion jpype/_darwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def _javahome_binary(self):
else:
java_home = subprocess.Popen(['/usr/libexec/java_home'], stdout=subprocess.PIPE).communicate()[0]
return java_home
raise NotImplementedError

# ------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion jpype/_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ def _get_from_registry(self):
return cv[0]

except WindowsError:
raise NotImplementedError
return None

0 comments on commit 13d680e

Please sign in to comment.