diff options
author | Lance Stout <lancestout@gmail.com> | 2012-06-19 01:29:48 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-06-19 01:29:48 -0700 |
commit | d92aa05b5c18806ab5addc947eeedaaf4d51500e (patch) | |
tree | bdb64fa72894b6689b38fa6e96a29e15548422fd /sleekxmpp/plugins/xep_0258 | |
parent | f7a74d960edb3ced00423c081ec74e9e91f3aea2 (diff) | |
download | slixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.tar.gz slixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.tar.bz2 slixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.tar.xz slixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.zip |
PEP8 formatting updates.
Diffstat (limited to 'sleekxmpp/plugins/xep_0258')
-rw-r--r-- | sleekxmpp/plugins/xep_0258/security_labels.py | 2 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0258/stanza.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0258/security_labels.py b/sleekxmpp/plugins/xep_0258/security_labels.py index 27be6de1..e0426f32 100644 --- a/sleekxmpp/plugins/xep_0258/security_labels.py +++ b/sleekxmpp/plugins/xep_0258/security_labels.py @@ -30,7 +30,7 @@ class XEP_0258(BasePlugin): register_stanza_plugin(Message, SecurityLabel) register_stanza_plugin(Iq, Catalog) - def get_catalog(self, jid, ifrom=None, block=True, + def get_catalog(self, jid, ifrom=None, block=True, callback=None, timeout=None): iq = self.xmpp.Iq() iq['to'] = jid diff --git a/sleekxmpp/plugins/xep_0258/stanza.py b/sleekxmpp/plugins/xep_0258/stanza.py index 6e10b28b..d844e44c 100644 --- a/sleekxmpp/plugins/xep_0258/stanza.py +++ b/sleekxmpp/plugins/xep_0258/stanza.py @@ -33,7 +33,7 @@ class Label(ElementBase): class DisplayMarking(ElementBase): name = 'displaymarking' namespace = 'urn:xmpp:sec-label:0' - plugin_attrib = 'display_marking' + plugin_attrib = 'display_marking' interfaces = set(['fgcolor', 'bgcolor', 'value']) def get_fgcolor(self): |