26 lines
936 B
Diff
26 lines
936 B
Diff
|
Creates a problem for gobject-introspection identifying what
|
||
|
version of vte is really allowed. Vte 2.91 is installed on the
|
||
|
host but the RPM is built requiring 2.90.
|
||
|
|
||
|
--- virt-manager-1.4.0/virtManager/serialcon.py.orig 2016-06-21 15:35:45.109272839 -0600
|
||
|
+++ virt-manager-1.4.0/virtManager/serialcon.py 2016-06-21 15:35:56.637272738 -0600
|
||
|
@@ -32,12 +32,12 @@ from gi.repository import Gtk
|
||
|
|
||
|
# We can use either 2.91 or 2.90. This is just to silence runtime warnings
|
||
|
# pylint: disable=wrong-import-position
|
||
|
-try:
|
||
|
- gi.require_version("Vte", "2.91")
|
||
|
- logging.debug("Using VTE API 2.91")
|
||
|
-except ValueError:
|
||
|
- gi.require_version("Vte", "2.90")
|
||
|
- logging.debug("Using VTE API 2.90")
|
||
|
+#try:
|
||
|
+# gi.require_version("Vte", "2.91")
|
||
|
+# logging.debug("Using VTE API 2.91")
|
||
|
+#except ValueError:
|
||
|
+# gi.require_version("Vte", "2.90")
|
||
|
+# logging.debug("Using VTE API 2.90")
|
||
|
from gi.repository import Vte
|
||
|
|
||
|
import libvirt
|