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.
|
||||
"""
|
||||
|
||||
from xml.etree import cElementTree as ET
|
||||
from sleekxmpp.xmlstream import ET
|
||||
import base64
|
||||
import logging
|
||||
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.xmlstream.handler.callback import Callback
|
||||
from sleekxmpp.xmlstream.matcher.xpath import MatchXPath
|
||||
from sleekxmpp.xmlstream.stanzabase import register_stanza_plugin
|
||||
from xml.etree import cElementTree as ET
|
||||
from sleekxmpp.xmlstream.stanzabase import register_stanza_plugin, ET
|
||||
import logging
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue