summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0059/__init__.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_0059/__init__.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_0059/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0059/__init__.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0059/__init__.py b/sleekxmpp/plugins/xep_0059/__init__.py
index 3a9b8edf..3464ce32 100644
--- a/sleekxmpp/plugins/xep_0059/__init__.py
+++ b/sleekxmpp/plugins/xep_0059/__init__.py
@@ -6,5 +6,13 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0059.stanza import Set
-from sleekxmpp.plugins.xep_0059.rsm import ResultIterator, xep_0059
+from sleekxmpp.plugins.xep_0059.rsm import ResultIterator, XEP_0059
+
+
+register_plugin(XEP_0059)
+
+# Retain some backwards compatibility
+xep_0059 = XEP_0059