core: minor style/typos fixes
This commit is contained in:
parent
af64d24d52
commit
a29893ac1f
1 changed files with 16 additions and 36 deletions
|
|
@ -28,10 +28,7 @@ from sat.tools.common import data_format
|
|||
|
||||
from wokkel import disco, iwokkel
|
||||
|
||||
try:
|
||||
from twisted.words.protocols.xmlstream import XMPPHandler
|
||||
except ImportError:
|
||||
from wokkel.subprotocols import XMPPHandler
|
||||
from twisted.words.protocols.jabber import xmlstream
|
||||
from zope.interface import implements
|
||||
from textwrap import dedent
|
||||
|
||||
|
|
@ -127,7 +124,7 @@ class XEP_0334(object):
|
|||
return True
|
||||
|
||||
|
||||
class XEP_0334_handler(XMPPHandler):
|
||||
class XEP_0334_handler(xmlstream.XMPPHandler):
|
||||
implements(iwokkel.IDisco)
|
||||
|
||||
def getDiscoInfo(self, requestor, target, nodeIdentifier=""):
|
||||
|
|
|
|||
Loading…
Reference in a new issue