diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2004-01-16 01:46:35 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2004-01-16 01:46:35 +0300 |
commit | e8b6c78f5e7575fc8eabad05b9c6279a9bdf38c1 (patch) | |
tree | 53ab71aad1a779de9000e7d02a7ba4431f26fe51 /common | |
parent | a833e9685fdf3076e1eec1736630ad62d9e5b87c (diff) |
remove group iter from roster when empty
Diffstat (limited to 'common')
-rw-r--r-- | common/jabber.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/common/jabber.py b/common/jabber.py index a0368a234..b7a7afc60 100644 --- a/common/jabber.py +++ b/common/jabber.py @@ -62,7 +62,7 @@ An example of usage for a simple client would be ( only psuedo code !) """ -# $Id: jabber.py,v 1.56 2004/01/08 15:48:59 snakeru Exp $ +# $Id: jabber.py,v 1.4 2004/01/14 01:06:27 asterix86 Exp $ import xmlstream import sha, time @@ -373,18 +373,13 @@ class Connection(xmlstream.Client): self.DEBUG("waiting for %s" % ustr(ID),DBG_NODE_IQ) while (not self._expected[ID]) and not has_timed_out: - print "tjs pas" if not self.process(0.2): return None if timeout and (time.time() > abort_time): - print "Timeout" has_timed_out = True if has_timed_out: - print "\n timeOut " self.lastErr = "Timeout" return None - print "On a eut la rep" response = self._expected[ID] - print response del self._expected[ID] if response.getErrorCode(): self.lastErr = response.getError() |