From 8854509ccdbc1f9ea74e1eb00f3af098f2a3b6b6 Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Fri, 11 Dec 2009 01:29:46 +0000 Subject: * started converstion to stanza objects --- sleekxmpp/xmlstream/handler/waiter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sleekxmpp/xmlstream/handler') 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 -- cgit v1.2.3