]> Git Repo - linux.git/blobdiff - tools/perf/scripts/python/exported-sql-viewer.py
Merge tag 'staging-5.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux.git] / tools / perf / scripts / python / exported-sql-viewer.py
index 4a63843f623c4086e64964114f6fb365bc43e854..711d4f9f5645cf33aa721f7c8a263a6b2d691305 100755 (executable)
 from __future__ import print_function
 
 import sys
+# Only change warnings if the python -W option was not used
+if not sys.warnoptions:
+       import warnings
+       # PySide2 causes deprecation warnings, ignore them.
+       warnings.filterwarnings("ignore", category=DeprecationWarning)
 import argparse
 import weakref
 import threading
This page took 0.033472 seconds and 4 git commands to generate.