Marko Weber
2012-Mar-11 09:47 UTC
[libvirt-users] message on console by starting virt-manager , gentoo
# virt-manager
/usr/share/virt-manager/virt-manager.py:306: DeprecationWarning:
Importing dbus.glib to use the GLib main loop with dbus-python is
deprecated.
Instead, use this sequence:
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
import dbus.glib
ist that for interesr for the developers?
Michal Privoznik
2012-Mar-12 10:43 UTC
[libvirt-users] message on console by starting virt-manager , gentoo
On 11.03.2012 10:47, Marko Weber wrote:> # virt-manager > /usr/share/virt-manager/virt-manager.py:306: DeprecationWarning: > Importing dbus.glib to use the GLib main loop with dbus-python is > deprecated. > Instead, use this sequence: > > from dbus.mainloop.glib import DBusGMainLoop > > DBusGMainLoop(set_as_default=True) > > import dbus.glib > > ist that for interesr for the developers?Sure, however this has been already fixed in upstream: http://git.fedorahosted.org/git/?p=virt-manager.git;a=commitdiff;h=cda1dd81f95ab335389eadfbdfe33e49785d6bb2;hp=51360f885433271dded02ca63147553d57d5090d It should be available in next release, though. Michal