Skip to content

Commit f137fe9

Browse files
committed
[GR-23265] Be quiet when not interactive
PullRequest: graalpython/1070
2 parents d4b8bca + 491d427 commit f137fe9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

graalpython/com.oracle.graal.python.shell/src/com/oracle/graal/python/shell/GraalPythonMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ protected void launch(Builder contextBuilder) {
441441
if (!noSite) {
442442
evalInternal(context, "import site\n");
443443
}
444-
if (!quietFlag) {
444+
if (!quietFlag && stdinIsInteractive) {
445445
System.err.println("Please note: This Python implementation is in the very early stages, " +
446446
"and can run little more than basic benchmarks at this point.");
447447
}

mx.graalpython/suite.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@
4444
},
4545
{
4646
"name": "tools",
47-
"version": "9dcaf1378003fc52ca3091ce01e30214d7131201",
47+
"version": "cf381619198fff4235dc7035b19bce8c8e98c451",
4848
"subdir": True,
4949
"urls": [
5050
{"url": "https://github.com/oracle/graal", "kind": "git"},
5151
],
5252
},
5353
{
5454
"name": "sulong",
55-
"version": "9dcaf1378003fc52ca3091ce01e30214d7131201",
55+
"version": "cf381619198fff4235dc7035b19bce8c8e98c451",
5656
"subdir": True,
5757
"urls": [
5858
{"url": "https://github.com/oracle/graal", "kind": "git"},
5959
]
6060
},
6161
{
6262
"name": "regex",
63-
"version": "9dcaf1378003fc52ca3091ce01e30214d7131201",
63+
"version": "cf381619198fff4235dc7035b19bce8c8e98c451",
6464
"subdir": True,
6565
"urls": [
6666
{"url": "https://github.com/oracle/graal", "kind": "git"},

0 commit comments

Comments
 (0)