Mercurial > libervia-backend
comparison src/core/sat_main.py @ 1122:9ae01ccf89c1
core: sat bakcend is now a twisted plugin (no more .tac file)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 24 Aug 2014 18:44:17 +0200 |
parents | 77751f5b2242 |
children | adea30ca0b51 |
comparison
equal
deleted
inserted
replaced
1121:64ff259d3cbb | 1122:9ae01ccf89c1 |
---|---|
17 # You should have received a copy of the GNU Affero General Public License | 17 # You should have received a copy of the GNU Affero General Public License |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
20 from sat.core.i18n import _, D_, languageSwitch | 20 from sat.core.i18n import _, D_, languageSwitch |
21 from twisted.application import service | 21 from twisted.application import service |
22 from twisted.internet import glib2reactor | |
23 glib2reactor.install() | |
22 from twisted.internet import defer | 24 from twisted.internet import defer |
23 from twisted.words.protocols.jabber import jid | 25 from twisted.words.protocols.jabber import jid |
24 from twisted.words.xish import domish | 26 from twisted.words.xish import domish |
25 from twisted.internet import reactor | 27 from twisted.internet import reactor |
26 from wokkel.xmppim import RosterItem | 28 from wokkel.xmppim import RosterItem |