comparison src/plugins/plugin_xep_0020.py @ 587:952322b1d490

Remove trailing whitespaces.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:34 +0100
parents ca13633d3b6b
children beaf6bec2fcd
comparison
equal deleted inserted replaced
586:6a718ede8be1 587:952322b1d490
46 46
47 class XEP_0020(): 47 class XEP_0020():
48 48
49 def __init__(self, host): 49 def __init__(self, host):
50 info(_("Plugin XEP_0020 initialization")) 50 info(_("Plugin XEP_0020 initialization"))
51 51
52 def getHandler(self, profile): 52 def getHandler(self, profile):
53 return XEP_0020_handler() 53 return XEP_0020_handler()
54 54
55 def getFeatureElt(self, elt): 55 def getFeatureElt(self, elt):
56 """Check element's children to find feature elements 56 """Check element's children to find feature elements
104 feature_elt.addChild(x_form.toElement()) 104 feature_elt.addChild(x_form.toElement())
105 return feature_elt 105 return feature_elt
106 106
107 class XEP_0020_handler(XMPPHandler): 107 class XEP_0020_handler(XMPPHandler):
108 implements(iwokkel.IDisco) 108 implements(iwokkel.IDisco)
109 109
110 def getDiscoInfo(self, requestor, target, nodeIdentifier=''): 110 def getDiscoInfo(self, requestor, target, nodeIdentifier=''):
111 return [disco.DiscoFeature(NS_FEATURE_NEG)] 111 return [disco.DiscoFeature(NS_FEATURE_NEG)]
112 112
113 def getDiscoItems(self, requestor, target, nodeIdentifier=''): 113 def getDiscoItems(self, requestor, target, nodeIdentifier=''):
114 return [] 114 return []