diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-09-19 21:47:13 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2014-09-19 21:47:13 -0400 |
commit | 775ea8dc72d9ad181399a519326c1052fd9d2118 (patch) | |
tree | bcb4fc16228f1cb348752df0334b1ce915f16cd8 /virt-manager | |
parent | 55739055fd3c4461c3d8ffd0793714a0a6810d0b (diff) | |
download | virt-manager-775ea8dc72d9ad181399a519326c1052fd9d2118.tar.gz |
virt-manager: Silence gtk deprecation warnings
They are on by default on F21, and they are very noisy
Diffstat (limited to 'virt-manager')
-rwxr-xr-x | virt-manager | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/virt-manager b/virt-manager index ec37e6c0..534c4ab5 100755 --- a/virt-manager +++ b/virt-manager @@ -33,6 +33,12 @@ from virtinst import util as util from virtinst import cli as virtinstcli from virtcli import cliconfig +# This is massively heavy handed, but I can't figure out any way to shut +# up the slew of gtk deprecation warnings that clog up our very useful +# stdout --debug output. Of course we could drop use of deprecated APIs, +# but it's a serious quantity of churn +import warnings +warnings.simplefilter("ignore") try: # Avoid a deprecation warning about threads_init |