Centralize references to ET to make switching implementations easier.

This commit is contained in:
Lance Stout 2012-02-19 20:26:40 -08:00
parent 977fcc0632
commit afe0d16797
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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