diff options
author | Nathan Fritz <fritzy@netflint.net> | 2009-12-11 01:29:46 +0000 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2009-12-11 01:29:46 +0000 |
commit | 8854509ccdbc1f9ea74e1eb00f3af098f2a3b6b6 (patch) | |
tree | 0cd10d2532fe57cf49128779bbc2375875afb8b0 /sleekxmpp/xmlstream/handler/waiter.py | |
parent | a031dd24a6c82745b7272d98229ebc69dd5f4811 (diff) | |
download | slixmpp-8854509ccdbc1f9ea74e1eb00f3af098f2a3b6b6.tar.gz slixmpp-8854509ccdbc1f9ea74e1eb00f3af098f2a3b6b6.tar.bz2 slixmpp-8854509ccdbc1f9ea74e1eb00f3af098f2a3b6b6.tar.xz slixmpp-8854509ccdbc1f9ea74e1eb00f3af098f2a3b6b6.zip |
* started converstion to stanza objects
Diffstat (limited to 'sleekxmpp/xmlstream/handler/waiter.py')
-rw-r--r-- | sleekxmpp/xmlstream/handler/waiter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/handler/waiter.py b/sleekxmpp/xmlstream/handler/waiter.py index 57d96f9d..140ce443 100644 --- a/sleekxmpp/xmlstream/handler/waiter.py +++ b/sleekxmpp/xmlstream/handler/waiter.py @@ -1,6 +1,7 @@ from . import base import queue import logging +from .. stanzabase import StanzaBase class Waiter(base.BaseHandler): @@ -19,7 +20,7 @@ class Waiter(base.BaseHandler): return self._payload.get(True, timeout) except queue.Empty: logging.warning("Timed out waiting for %s" % self.name) - return False + return StanzaBase(stype='error') def checkDelete(self): return True |