* started converstion to stanza objects

This commit is contained in:
Nathan Fritz
2009-12-11 01:29:46 +00:00
parent a031dd24a6
commit 8854509ccd
7 changed files with 276 additions and 347 deletions

View File

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