virt-manager/virt-manager-fix-python27.diff

14 lines
532 B
Diff

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