Fix XEP-0065 imports and naming for Python3.

This commit is contained in:
Lance Stout
2012-06-10 14:15:58 -07:00
parent a7b092a305
commit f70b49882f
3 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
from sleekxmpp.plugins.base import register_plugin
from sleekxmpp.plugins.xep_0065.proxy import xep_0065
from sleekxmpp.plugins.xep_0065.proxy import XEP_0065
register_plugin(xep_0065)
register_plugin(XEP_0065)

View File

@@ -7,7 +7,7 @@ from hashlib import sha1
from select import select
from uuid import uuid4
import stanza
from sleekxmpp.plugins.xep_0065 import stanza
from sleekxmpp.plugins.base import base_plugin
from sleekxmpp.xmlstream.handler import Callback
@@ -18,7 +18,7 @@ from sleekxmpp.thirdparty.socks import socksocket, PROXY_TYPE_SOCKS5
log = logging.getLogger(__name__)
class xep_0065(base_plugin):
class XEP_0065(base_plugin):
"""
XEP-0065 Socks5 Bytestreams
"""