added missing docstrings to tests and added deprecated warning to basexmpp.send when using xml mask waiting

This commit is contained in:
Nathan Fritz
2010-04-07 23:32:15 -07:00
parent ecd5a172ed
commit dd77d2165d
2 changed files with 6 additions and 0 deletions

View File

@@ -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)