diff options
author | Lance Stout <lancestout@gmail.com> | 2013-08-06 15:54:02 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-08-06 15:54:02 -0700 |
commit | e57e321d33a698d90053339d93b19e3c773e487c (patch) | |
tree | e246e35a37f380eaf23b61c7097a8b96e828a1c9 /sleekxmpp/basexmpp.py | |
parent | 6401c9aaaafc5bb7541d5475e34191e6f0965313 (diff) | |
download | slixmpp-e57e321d33a698d90053339d93b19e3c773e487c.tar.gz slixmpp-e57e321d33a698d90053339d93b19e3c773e487c.tar.bz2 slixmpp-e57e321d33a698d90053339d93b19e3c773e487c.tar.xz slixmpp-e57e321d33a698d90053339d93b19e3c773e487c.zip |
Try re-ordering initial imports to avoid import bugs
Diffstat (limited to 'sleekxmpp/basexmpp.py')
-rw-r--r-- | sleekxmpp/basexmpp.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index 7b608d13..9021bd97 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -18,8 +18,7 @@ import sys import logging import threading -import sleekxmpp -from sleekxmpp import plugins, roster +from sleekxmpp import plugins, roster, stanza from sleekxmpp.api import APIRegistry from sleekxmpp.exceptions import IqError, IqTimeout @@ -146,7 +145,7 @@ class BaseXMPP(XMLStream): #: A reference to :mod:`sleekxmpp.stanza` to make accessing #: stanza classes easier. - self.stanza = sleekxmpp.stanza + self.stanza = stanza self.register_handler( Callback('IM', |