From 9c3fece96bee3c381cf0d7bd7022b46c858c6e1b Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 24 Jul 2014 02:07:08 +0200 Subject: Use slixmpp --- plugins/gpg/__init__.py | 2 +- plugins/iq_show.py | 4 ++-- plugins/replace.py | 2 +- plugins/uptime.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/gpg/__init__.py b/plugins/gpg/__init__.py index 67720a5e..bc8a96c1 100644 --- a/plugins/gpg/__init__.py +++ b/plugins/gpg/__init__.py @@ -106,7 +106,7 @@ to upload you public key on a public server. """ from gpg import gnupg -from sleekxmpp.xmlstream.stanzabase import JID +from slixmpp.xmlstream.stanzabase import JID from xml.etree import cElementTree as ET import xml.sax.saxutils diff --git a/plugins/iq_show.py b/plugins/iq_show.py index 8f82ca72..387878f4 100644 --- a/plugins/iq_show.py +++ b/plugins/iq_show.py @@ -3,8 +3,8 @@ Show the exchanged IQs (useful for debugging). """ from plugin import BasePlugin -from sleekxmpp.xmlstream.matcher import StanzaPath -from sleekxmpp.xmlstream.handler import Callback +from slixmpp.xmlstream.matcher import StanzaPath +from slixmpp.xmlstream.handler import Callback class Plugin(BasePlugin): def init(self): diff --git a/plugins/replace.py b/plugins/replace.py index c9143ef8..21f2c9af 100644 --- a/plugins/replace.py +++ b/plugins/replace.py @@ -58,7 +58,7 @@ import tabs import datetime import random import re -from sleekxmpp.xmlstream.stanzabase import JID +from slixmpp.xmlstream.stanzabase import JID class Plugin(BasePlugin): def init(self): diff --git a/plugins/uptime.py b/plugins/uptime.py index 2b171703..4614b230 100644 --- a/plugins/uptime.py +++ b/plugins/uptime.py @@ -13,7 +13,7 @@ Command """ from plugin import BasePlugin from common import parse_secs_to_str, safeJID -from sleekxmpp.xmlstream import ET +from slixmpp.xmlstream import ET class Plugin(BasePlugin): def init(self): -- cgit v1.2.3