summaryrefslogtreecommitdiff
path: root/slixmpp/stanza/atom.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:20:27 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:21:42 +0100
commitc4285961df7004f6c54d6d38960c4c075d0877b6 (patch)
tree62cfaa24e4204a0cbfc4936462c0efe0892e3443 /slixmpp/stanza/atom.py
parent1038f656eb1f766983a5869611daab447817a6ac (diff)
downloadslixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.gz
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.bz2
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.xz
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.zip
sed -i 's/set((\(.*\)))$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/stanza/atom.py')
-rw-r--r--slixmpp/stanza/atom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/stanza/atom.py b/slixmpp/stanza/atom.py
index ccded724..c7192dd8 100644
--- a/slixmpp/stanza/atom.py
+++ b/slixmpp/stanza/atom.py
@@ -21,7 +21,7 @@ class AtomEntry(ElementBase):
namespace = 'http://www.w3.org/2005/Atom'
name = 'entry'
plugin_attrib = 'entry'
- interfaces = set(('title', 'summary', 'id', 'published', 'updated'))
+ interfaces = {'title', 'summary', 'id', 'published', 'updated'}
sub_interfaces = set(('title', 'summary', 'id', 'published',
'updated'))
@@ -37,7 +37,7 @@ class AtomAuthor(ElementBase):
name = 'author'
plugin_attrib = 'author'
- interfaces = set(('name', 'uri'))
- sub_interfaces = set(('name', 'uri'))
+ interfaces = {'name', 'uri'}
+ sub_interfaces = {'name', 'uri'}
register_stanza_plugin(AtomEntry, AtomAuthor)