Cosmetic PEP8 fixes.

This commit is contained in:
Lance Stout
2011-08-04 22:37:22 -07:00
parent 93a4a3f8a0
commit 47bc50d9fb
6 changed files with 17 additions and 13 deletions

View File

@@ -29,7 +29,6 @@ class feature_mechanisms(base_plugin):
self.description = "SASL Stream Feature"
self.stanza = stanza
def tls_active():
return 'starttls' in self.xmpp.features

View File

@@ -42,9 +42,9 @@ class Mechanisms(ElementBase):
"""
self.del_mechanisms()
for val in values:
mech = ET.Element('{%s}mechanism' % self.namespace)
mech.text = val
self.append(mech)
mech = ET.Element('{%s}mechanism' % self.namespace)
mech.text = val
self.append(mech)
def del_mechanisms(self):
"""