From fbc856277944e063e7754c7c597aba7eb46a3eca Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlenga Date: Tue, 15 Dec 2015 19:34:44 +0100 Subject: Remove dead code See 5c769632e8d35ea76990a1de3ab405c57a21482e. --- slixmpp/basexmpp.py | 1 - slixmpp/test/slixtest.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py index 83741bd7..3cc299b2 100644 --- a/slixmpp/basexmpp.py +++ b/slixmpp/basexmpp.py @@ -687,7 +687,6 @@ class BaseXMPP(XMLStream): self.address = (host, port) self.default_domain = host self.dns_records = None - self.reconnect_delay = None self.reconnect() def _handle_message(self, msg): diff --git a/slixmpp/test/slixtest.py b/slixmpp/test/slixtest.py index f66cf6be..b307b5c6 100644 --- a/slixmpp/test/slixtest.py +++ b/slixmpp/test/slixtest.py @@ -340,9 +340,6 @@ class SlixTest(unittest.TestCase): self.xmpp.default_lang = None self.xmpp.peer_default_lang = None - # Simulate connecting for mock sockets. - self.xmpp.auto_reconnect = False - # Must have the stream header ready for xmpp.process() to work. if not header: header = self.xmpp.stream_header -- cgit v1.2.3