Fix typo s/is_set/is_set()

This commit is contained in:
Lance Stout 2012-02-02 18:14:48 +01:00
parent 3ab7c8bcc3
commit f98e5a03de

View file

@ -1408,7 +1408,7 @@ class XMLStream(object):
"""Extract stanzas from the send queue and send them on the stream.""" """Extract stanzas from the send queue and send them on the stream."""
try: try:
while not self.stop.is_set(): while not self.stop.is_set():
while not self.stop.is_set and \ while not self.stop.is_set() and \
not self.session_started_event.is_set(): not self.session_started_event.is_set():
self.session_started_event.wait(timeout=1) self.session_started_event.wait(timeout=1)
if self.__failed_send_stanza is not None: if self.__failed_send_stanza is not None: