diff options
Diffstat (limited to 'sleekxmpp/__init__.py')
-rw-r--r-- | sleekxmpp/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sleekxmpp/__init__.py b/sleekxmpp/__init__.py index f95c6665..49c9a66b 100644 --- a/sleekxmpp/__init__.py +++ b/sleekxmpp/__init__.py @@ -37,7 +37,7 @@ import sys import random import copy from . import plugins -from . import stanza +#from . import stanza srvsupport = True try: import dns.resolver @@ -87,6 +87,8 @@ class ClientXMPP(basexmpp, XMLStream): #self.register_plugins() def importStanzas(self): + pass + return for modname in stanza.__all__: __import__("%s.%s" % (globals()['stanza'].__name__, modname)) for register in getattr(stanza, modname).stanzas: |