diff options
author | Nicolas Cedilnik <nicoco@nicoco.fr> | 2021-02-22 13:07:15 +0100 |
---|---|---|
committer | Nicolas Cedilnik <nicoco@nicoco.fr> | 2021-02-22 13:09:39 +0100 |
commit | 8b7648502b003d433a08333b041baf1d4960c9d4 (patch) | |
tree | 4429b5cd6ae393eee5a5e4481bd4c45766b74a96 | |
parent | 17a663b0fd0cecb03a2e0de1cd5b34239949c0e6 (diff) | |
download | slixmpp-8b7648502b003d433a08333b041baf1d4960c9d4.tar.gz slixmpp-8b7648502b003d433a08333b041baf1d4960c9d4.tar.bz2 slixmpp-8b7648502b003d433a08333b041baf1d4960c9d4.tar.xz slixmpp-8b7648502b003d433a08333b041baf1d4960c9d4.zip |
Fix deprecation warning
-rw-r--r-- | slixmpp/thirdparty/orderedset.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/thirdparty/orderedset.py b/slixmpp/thirdparty/orderedset.py index f6642db3..43023af4 100644 --- a/slixmpp/thirdparty/orderedset.py +++ b/slixmpp/thirdparty/orderedset.py @@ -20,9 +20,9 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. -import collections +from collections.abc import MutableSet -class OrderedSet(collections.MutableSet): +class OrderedSet(MutableSet): def __init__(self, iterable=None): self.end = end = [] |