diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-04 22:37:22 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-04 22:37:22 -0700 |
commit | 47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b (patch) | |
tree | bea40ff79dc92dd38c1152905658dde1e84df96b /sleekxmpp/features/feature_mechanisms/stanza | |
parent | 93a4a3f8a0f64eed846895365fa3da059bbf5ea1 (diff) | |
download | slixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.tar.gz slixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.tar.bz2 slixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.tar.xz slixmpp-47bc50d9fbbe8d72b589a6360aa8b5f32d6ba74b.zip |
Cosmetic PEP8 fixes.
Diffstat (limited to 'sleekxmpp/features/feature_mechanisms/stanza')
-rw-r--r-- | sleekxmpp/features/feature_mechanisms/stanza/mechanisms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sleekxmpp/features/feature_mechanisms/stanza/mechanisms.py b/sleekxmpp/features/feature_mechanisms/stanza/mechanisms.py index 1189cd80..c09cafbd 100644 --- a/sleekxmpp/features/feature_mechanisms/stanza/mechanisms.py +++ b/sleekxmpp/features/feature_mechanisms/stanza/mechanisms.py @@ -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): """ |