a478951 Use dbus.mainloop.glib.DBusGMainLoop() instead of dbus.glib

Authored and Committed by plautrba 4 years ago
    Use dbus.mainloop.glib.DBusGMainLoop() instead of dbus.glib
    
    Fixes:
    /usr/bin/sealert:32: 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
    
        
file modified
+3 -1