From aeb7999e6af33cf1c7197fa68ba826552c6cf0dd Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Thu, 14 Oct 2010 16:08:50 -0700 Subject: don't import statemachine --- sleekxmpp/test/sleektest.py | 2 +- sleekxmpp/xmlstream/__init__.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'sleekxmpp') diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py index fa53bf73..89e3712f 100644 --- a/sleekxmpp/test/sleektest.py +++ b/sleekxmpp/test/sleektest.py @@ -524,7 +524,7 @@ class SleekTest(unittest.TestCase): # Apply closing elements so that we can construct # XML objects for comparison. header2 = header + '' - sent_header2 = sent_header + '' + sent_header2 = sent_header + b'' xml = self.parse_xml(header2) sent_xml = self.parse_xml(sent_header2) diff --git a/sleekxmpp/xmlstream/__init__.py b/sleekxmpp/xmlstream/__init__.py index 09514958..981f052d 100644 --- a/sleekxmpp/xmlstream/__init__.py +++ b/sleekxmpp/xmlstream/__init__.py @@ -9,7 +9,6 @@ from sleekxmpp.xmlstream.jid import JID from sleekxmpp.xmlstream.scheduler import Scheduler from sleekxmpp.xmlstream.stanzabase import StanzaBase, ElementBase, ET -from sleekxmpp.xmlstream.statemachine import StateMachine from sleekxmpp.xmlstream.tostring import tostring from sleekxmpp.xmlstream.xmlstream import XMLStream, RESPONSE_TIMEOUT from sleekxmpp.xmlstream.xmlstream import RestartStream -- cgit v1.2.3