mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-11 16:58:31 +03:00
Fix warning reporting to not crash with F14 pygtk
This commit is contained in:
parent
8876217728
commit
9bf29dfdaa
@ -284,7 +284,7 @@ def main():
|
||||
# on as if all were fine. Ultimately bad stuff happens,
|
||||
# so lets catch it here & get the hell out...
|
||||
import warnings
|
||||
warnings.filterwarnings('error', module='gtk')
|
||||
warnings.filterwarnings('error', module='gtk', append=True)
|
||||
try:
|
||||
import gobject
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user