diff twisted/plugins/sat_plugin.py @ 2566:735467eb6cf7

core: replaced gtk3reactor by gireactor
author Goffi <goffi@goffi.org>
date Tue, 03 Apr 2018 20:54:17 +0200
parents 26edcf3a30eb
children ef93fcbaa749
line wrap: on
line diff
--- a/twisted/plugins/sat_plugin.py	Tue Apr 03 09:04:55 2018 +0200
+++ b/twisted/plugins/sat_plugin.py	Tue Apr 03 20:54:17 2018 +0200
@@ -40,8 +40,8 @@
 
 def initialise(options):
     """Method to initialise global modules"""
-    from twisted.internet import gtk3reactor
-    gtk3reactor.install()
+    from twisted.internet import gireactor
+    gireactor.install()
     # XXX: We need to configure logs before any log method is used, so here is the best place.
     from sat.core import log_config
     log_config.satConfigure(C.LOG_BACKEND_TWISTED, C, backend_data=options)