summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-24 02:07:08 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-24 02:11:45 +0200
commit9c3fece96bee3c381cf0d7bd7022b46c858c6e1b (patch)
treeee3198ca6111800b3fe5c6c233e135500001a1c1 /src/core
parent459471d7160295259683a6268e7e2e465d4dd2d0 (diff)
downloadpoezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.gz
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.bz2
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.xz
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.zip
Use slixmpp
Diffstat (limited to 'src/core')
-rw-r--r--src/core/commands.py6
-rw-r--r--src/core/core.py2
-rw-r--r--src/core/handlers.py8
3 files changed, 8 insertions, 8 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index c2e453e9..82d2d6da 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -11,9 +11,9 @@ from datetime import datetime
from gettext import gettext as _
from xml.etree import cElementTree as ET
-from sleekxmpp.xmlstream.stanzabase import StanzaBase
-from sleekxmpp.xmlstream.handler import Callback
-from sleekxmpp.xmlstream.matcher import StanzaPath
+from slixmpp.xmlstream.stanzabase import StanzaBase
+from slixmpp.xmlstream.handler import Callback
+from slixmpp.xmlstream.matcher import StanzaPath
import bookmark
import common
diff --git a/src/core/core.py b/src/core/core.py
index 985fb752..00d7c364 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -19,7 +19,7 @@ from threading import Event
from datetime import datetime
from gettext import gettext as _
-from sleekxmpp.xmlstream.handler import Callback
+from slixmpp.xmlstream.handler import Callback
import bookmark
import connection
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 119d9e74..e9e1c892 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -11,9 +11,9 @@ import time
from hashlib import sha1
from gettext import gettext as _
-from sleekxmpp import InvalidJID
-from sleekxmpp.stanza import Message
-from sleekxmpp.xmlstream.stanzabase import StanzaBase
+from slixmpp import InvalidJID
+from slixmpp.stanza import Message
+from slixmpp.xmlstream.stanzabase import StanzaBase
import bookmark
import common
@@ -1058,7 +1058,7 @@ def incoming_stanza(self, stanza):
def validate_ssl(self, pem):
"""
- Check the server certificate using the sleekxmpp ssl_cert event
+ Check the server certificate using the slixmpp ssl_cert event
"""
if config.get('ignore_certificate', False):
return