summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030/disco.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 18:40:30 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:07 -0700
commite28728278246b2f73e86969cfdb881d9ef17a51e (patch)
tree1877f41187dddb39ad159183883d59bae2ded2b0 /sleekxmpp/plugins/xep_0030/disco.py
parent8b06d10415d6281f5836412129b7f04db6e16f04 (diff)
downloadslixmpp-e28728278246b2f73e86969cfdb881d9ef17a51e.tar.gz
slixmpp-e28728278246b2f73e86969cfdb881d9ef17a51e.tar.bz2
slixmpp-e28728278246b2f73e86969cfdb881d9ef17a51e.tar.xz
slixmpp-e28728278246b2f73e86969cfdb881d9ef17a51e.zip
Moving backwards compatibility shims to __init__ files.
Diffstat (limited to 'sleekxmpp/plugins/xep_0030/disco.py')
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index d1f306c9..8171bd01 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -11,7 +11,7 @@ import logging
import sleekxmpp
from sleekxmpp import Iq
from sleekxmpp.exceptions import XMPPError, IqError, IqTimeout
-from sleekxmpp.plugins import BasePlugin, register_plugin
+from sleekxmpp.plugins import BasePlugin
from sleekxmpp.xmlstream.handler import Callback
from sleekxmpp.xmlstream.matcher import StanzaPath
from sleekxmpp.xmlstream import register_stanza_plugin, ElementBase, ET, JID
@@ -787,12 +787,3 @@ class XEP_0030(BasePlugin):
iq.append(payload)
return iq
return payload
-
-
-register_plugin(XEP_0030)
-
-# Retain some backwards compatibility
-xep_0030 = XEP_0030
-XEP_0030.getInfo = XEP_0030.get_info
-XEP_0030.getItems = XEP_0030.get_items
-XEP_0030.make_static = XEP_0030.restore_defaults