We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6195a commit d1583a1Copy full SHA for d1583a1
src/scyjava/_jvm.py
@@ -98,7 +98,7 @@ def jvm_version() -> str:
98
except subprocess.CalledProcessError as e:
99
raise RuntimeError("System call to java failed") from e
100
101
- output = output.replace('\n', ' ').replace('\r', '')
+ output = output.replace("\n", " ").replace("\r", "")
102
m = re.match('.*version "(([0-9]+\\.)+[0-9]+)', output)
103
if not m:
104
raise RuntimeError(f"Inscrutable java command output:\n{output}")
0 commit comments