]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Only write message about changed Tab size with -v.
authorGuido van Rossum <guido@python.org>
Mon, 3 Apr 2000 23:02:17 +0000 (23:02 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 3 Apr 2000 23:02:17 +0000 (23:02 +0000)
Parser/tokenizer.c

index 84979343a0727e62a7ab9d21241f9a10d40e43f4..e4b058e08577ee78944dce7597848573130b870e 100644 (file)
@@ -589,7 +589,8 @@ PyTokenizer_Get(tok, p_start, p_end)
 
                                if (newsize >= 1 && newsize <= 40) {
                                        tok->tabsize = newsize;
-                                       PySys_WriteStderr(
+                                       if (Py_VerboseFlag)
+                                           PySys_WriteStderr(
                                                "Tab size set to %d\n",
                                                newsize);
                                }