diff options
author | mathieui <mathieui@mathieui.net> | 2020-12-06 17:08:00 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-12-06 17:08:00 +0100 |
commit | bcd8cf085f528c602f78cba2c9eb2d784eb993da (patch) | |
tree | b7d76a453597a5a6cbdc0347f21f4d9fdfa568d5 /slixmpp/plugins/xep_0131/stanza.py | |
parent | 73cc2a40082cf936221adb09cfe208bd06cd4b60 (diff) | |
parent | cd4c9f82fc8d17726baa4b4a69c54151fb181f40 (diff) | |
download | slixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.tar.gz slixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.tar.bz2 slixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.tar.xz slixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.zip |
Merge branch 'no-ordered-stuff' into 'master'
Remove usage of OrderedDict
See merge request poezio/slixmpp!77
Diffstat (limited to 'slixmpp/plugins/xep_0131/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0131/stanza.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0131/stanza.py b/slixmpp/plugins/xep_0131/stanza.py index d075c15e..9f7bfa36 100644 --- a/slixmpp/plugins/xep_0131/stanza.py +++ b/slixmpp/plugins/xep_0131/stanza.py @@ -6,7 +6,6 @@ See the file LICENSE for copying permission. """ -from collections import OrderedDict from slixmpp.xmlstream import ET, ElementBase @@ -18,7 +17,7 @@ class Headers(ElementBase): is_extension = True def get_headers(self): - result = OrderedDict() + result = {} headers = self.xml.findall('{%s}header' % self.namespace) for header in headers: name = header.attrib.get('name', '') |