mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
unattended: Move gi require_version to virtinst import
Otherwise depending on import order this bit needs to be moved around
This commit is contained in:
parent
c603ea4084
commit
e6262435d6
@ -3,6 +3,9 @@
|
|||||||
# This work is licensed under the GNU GPLv2 or later.
|
# This work is licensed under the GNU GPLv2 or later.
|
||||||
# See the COPYING file in the top-level directory.
|
# See the COPYING file in the top-level directory.
|
||||||
|
|
||||||
|
import gi
|
||||||
|
gi.require_version('Libosinfo', '1.0')
|
||||||
|
|
||||||
from virtcli import CLIConfig as _CLIConfig
|
from virtcli import CLIConfig as _CLIConfig
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,8 +10,6 @@ import logging
|
|||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
import gi
|
|
||||||
gi.require_version('Libosinfo', '1.0')
|
|
||||||
from gi.repository import Libosinfo
|
from gi.repository import Libosinfo
|
||||||
from gi.repository import Gio
|
from gi.repository import Gio
|
||||||
from gi.repository import GLib
|
from gi.repository import GLib
|
||||||
|
Loading…
Reference in New Issue
Block a user