File virt-manager-fix-python27.diff of Package virt-manager

Index: virt-manager-0.8.5/src/virt-manager.py.in
===================================================================
--- virt-manager-0.8.5.orig/src/virt-manager.py.in
+++ virt-manager-0.8.5/src/virt-manager.py.in
@@ -278,7 +278,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
 
openSUSE Build Service is sponsored by