A few cleanups to make things simpler.

This commit is contained in:
Lance Stout
2010-09-01 14:20:34 -04:00
parent 3749c1b88c
commit aebd115ba2
2 changed files with 4 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ class Waiter(BaseHandler):
matcher -- A matcher object to detect the desired stanza.
stream -- Optional XMLStream instance to monitor.
"""
BaseHandler.__init__(self, name, matcher)
BaseHandler.__init__(self, name, matcher, stream=stream)
self._payload = queue.Queue()
def prerun(self, payload):