summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-04-07 23:32:15 -0700
committerNathan Fritz <nathan@andyet.net>2010-04-07 23:32:15 -0700
commitdd77d2165d5c3175cc4adda07520d6054ff0c934 (patch)
treee516594137be3535e06421e4c339d44fef7dba35 /sleekxmpp/basexmpp.py
parentecd5a172ed49cbdf69cb3eaf0786fd18d801ee65 (diff)
downloadslixmpp-dd77d2165d5c3175cc4adda07520d6054ff0c934.tar.gz
slixmpp-dd77d2165d5c3175cc4adda07520d6054ff0c934.tar.bz2
slixmpp-dd77d2165d5c3175cc4adda07520d6054ff0c934.tar.xz
slixmpp-dd77d2165d5c3175cc4adda07520d6054ff0c934.zip
added missing docstrings to tests and added deprecated warning to basexmpp.send when using xml mask waiting
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r--sleekxmpp/basexmpp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py
index 585ecacb..764f8c55 100644
--- a/sleekxmpp/basexmpp.py
+++ b/sleekxmpp/basexmpp.py
@@ -139,6 +139,7 @@ class basexmpp(object):
mask = mask.xml
data = str(data)
if mask is not None:
+ logging.warning("Use of send mask waiters is deprecated")
waitfor = Waiter('SendWait_%s' % self.getNewId(), MatchXMLMask(mask))
self.registerHandler(waitfor)
self.sendRaw(data)