changeset 1117:d2036b2db6be

server: replaced glib2reactor by gireactor
author Goffi <goffi@goffi.org>
date Sun, 15 Jul 2018 09:01:34 +0200
parents f72064f29d2a
children 6ddd47be0875
files src/twisted/plugins/libervia_server.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/twisted/plugins/libervia_server.py	Wed Jul 04 07:34:29 2018 +0200
+++ b/src/twisted/plugins/libervia_server.py	Sun Jul 15 09:01:34 2018 +0200
@@ -163,9 +163,9 @@
 
 def initialise(options):
     """Method to initialise global modules"""
-    from twisted.internet import glib2reactor
+    from twisted.internet import gireactor
+    gireactor.install()
 
-    glib2reactor.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