summaryrefslogtreecommitdiff
path: root/src/common.py
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/common.py
parent459471d7160295259683a6268e7e2e465d4dd2d0 (diff)
downloadpoezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.gz
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.bz2
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.xz
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.zip
Use slixmpp
Diffstat (limited to 'src/common.py')
-rw-r--r--src/common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common.py b/src/common.py
index 20700258..d50e7027 100644
--- a/src/common.py
+++ b/src/common.py
@@ -11,7 +11,7 @@ Various useful functions.
from sys import version_info
from datetime import datetime, timedelta
-from sleekxmpp import JID, InvalidJID
+from slixmpp import JID, InvalidJID
import base64
import os
@@ -283,7 +283,7 @@ def find_delayed_tag(message):
"""
Check if a message is delayed or not.
- :param sleekxmpp.Message message: The message to check.
+ :param slixmpp.Message message: The message to check.
:return: A tuple containing (True, the datetime) or (False, None)
:rtype: :py:class:`tuple`
"""
@@ -521,7 +521,7 @@ def format_gaming_string(infos):
def safeJID(*args, **kwargs):
"""
- Construct a :py:class:`sleekxmpp.JID` object from a string.
+ Construct a :py:class:`slixmpp.JID` object from a string.
Used to avoid tracebacks during is stringprep fails
(fall back to a JID with an empty string).