mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Centralize references to ET to make switching implementations easier.
This commit is contained in:
parent
977fcc0632
commit
afe0d16797
2 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
See the file LICENSE for copying permission.
|
See the file LICENSE for copying permission.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from xml.etree import cElementTree as ET
|
from sleekxmpp.xmlstream import ET
|
||||||
import base64
|
import base64
|
||||||
import logging
|
import logging
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -11,8 +11,7 @@ from sleekxmpp.plugins.xep_0009.stanza.RPC import RPCQuery, MethodCall, MethodRe
|
||||||
from sleekxmpp.stanza.iq import Iq
|
from sleekxmpp.stanza.iq import Iq
|
||||||
from sleekxmpp.xmlstream.handler.callback import Callback
|
from sleekxmpp.xmlstream.handler.callback import Callback
|
||||||
from sleekxmpp.xmlstream.matcher.xpath import MatchXPath
|
from sleekxmpp.xmlstream.matcher.xpath import MatchXPath
|
||||||
from sleekxmpp.xmlstream.stanzabase import register_stanza_plugin
|
from sleekxmpp.xmlstream.stanzabase import register_stanza_plugin, ET
|
||||||
from xml.etree import cElementTree as ET
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue