summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0009
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0009')
-rw-r--r--sleekxmpp/plugins/xep_0009/binding.py2
-rw-r--r--sleekxmpp/plugins/xep_0009/rpc.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0009/binding.py b/sleekxmpp/plugins/xep_0009/binding.py
index b4395707..2b16a0c0 100644
--- a/sleekxmpp/plugins/xep_0009/binding.py
+++ b/sleekxmpp/plugins/xep_0009/binding.py
@@ -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
diff --git a/sleekxmpp/plugins/xep_0009/rpc.py b/sleekxmpp/plugins/xep_0009/rpc.py
index 4f749f30..986a42e7 100644
--- a/sleekxmpp/plugins/xep_0009/rpc.py
+++ b/sleekxmpp/plugins/xep_0009/rpc.py
@@ -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