core: minor style/typos fixes

This commit is contained in:
Goffi 2018-12-01 10:04:17 +01:00
commit a29893ac1f

View file

@ -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=""):