Move XEP-0086 to new system.

This commit is contained in:
Lance Stout
2012-03-11 23:01:45 -07:00
parent 3fda053606
commit 2f677c98f8
2 changed files with 17 additions and 7 deletions
+10 -1
View File
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
from sleekxmpp.plugins.base import register_plugin
from sleekxmpp.plugins.xep_0086.stanza import LegacyError
from sleekxmpp.plugins.xep_0086.legacy_error import xep_0086
from sleekxmpp.plugins.xep_0086.legacy_error import XEP_0086
register_plugin(XEP_0086)
# Retain some backwards compatibility
xep_0086 = XEP_0086