From f98e5a03de19d6e4af6478b902789a50fc1a3b1c Mon Sep 17 00:00:00 2001
From: Lance Stout <lancestout@gmail.com>
Date: Thu, 2 Feb 2012 18:14:48 +0100
Subject: Fix typo s/is_set/is_set()

---
 sleekxmpp/xmlstream/xmlstream.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sleekxmpp/xmlstream')

diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index 0f740474..6d27747c 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -1408,7 +1408,7 @@ class XMLStream(object):
         """Extract stanzas from the send queue and send them on the stream."""
         try:
             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():
                     self.session_started_event.wait(timeout=1)
                 if self.__failed_send_stanza is not None:
-- 
cgit v1.2.3