On 11/12/2016 03:20 PM, Laurent Bigonville wrote: > From: Laurent Bigonville <bigon@xxxxxxxx> > > Signed-off-by: Laurent Bigonville <bigon@xxxxxxxx> Thanks, applied both patches. > --- > policycoreutils/sepolicy/selinux_server.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/policycoreutils/sepolicy/selinux_server.py b/policycoreutils/sepolicy/selinux_server.py > index cdf4d16..8bd1fe5 100644 > --- a/policycoreutils/sepolicy/selinux_server.py > +++ b/policycoreutils/sepolicy/selinux_server.py > @@ -3,7 +3,7 @@ > import dbus > import dbus.service > import dbus.mainloop.glib > -import gobject > +from gi.repository import GObject > import slip.dbus.service > from slip.dbus import polkit > import os > @@ -128,7 +128,7 @@ class selinux_server(slip.dbus.service.Object): > raise ValueError("%s does not exist" % path) > > if __name__ == "__main__": > - mainloop = gobject.MainLoop() > + mainloop = GObject.MainLoop() > dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) > system_bus = dbus.SystemBus() > name = dbus.service.BusName("org.selinux", system_bus) > _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.