Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2565:ea106dfa2145 | 2566:735467eb6cf7 |
---|---|
38 from sat.core.i18n import _ | 38 from sat.core.i18n import _ |
39 | 39 |
40 | 40 |
41 def initialise(options): | 41 def initialise(options): |
42 """Method to initialise global modules""" | 42 """Method to initialise global modules""" |
43 from twisted.internet import gtk3reactor | 43 from twisted.internet import gireactor |
44 gtk3reactor.install() | 44 gireactor.install() |
45 # XXX: We need to configure logs before any log method is used, so here is the best place. | 45 # XXX: We need to configure logs before any log method is used, so here is the best place. |
46 from sat.core import log_config | 46 from sat.core import log_config |
47 log_config.satConfigure(C.LOG_BACKEND_TWISTED, C, backend_data=options) | 47 log_config.satConfigure(C.LOG_BACKEND_TWISTED, C, backend_data=options) |
48 | 48 |
49 | 49 |