Skip to content

Commit e3328c8

Browse files
committed
hide experimental warning if quiet flag is set
1 parent 486fd57 commit e3328c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,10 @@ protected void launch(Builder contextBuilder) {
227227
if (!noSite) {
228228
evalInternal(context, "import site\n");
229229
}
230-
System.err.println("Please note: This Python implementation is in the very early stages, " +
231-
"and can run little more than basic benchmarks at this point.");
230+
if (!quietFlag) {
231+
System.err.println("Please note: This Python implementation is in the very early stages, " +
232+
"and can run little more than basic benchmarks at this point.");
233+
}
232234
consoleHandler.setContext(context);
233235

234236
if (commandString != null || inputFile != null) {

0 commit comments

Comments
 (0)