Skip to content

Commit 6dbf1ae

Browse files
authored
Merge pull request #143 from siijmDqEaiPR/patch-1
Python 3.10 compatibility
2 parents 12a0ee8 + 89f2013 commit 6dbf1ae

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dyn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Requires Python 2.6 or higher, or the "simplejson" package.
77
"""
8-
version_info = (1, 8, 3)
8+
version_info = (1, 8, 4)
99
__name__ = 'dyn'
1010
__doc__ = 'A python wrapper for the DynDNS and DynEmail APIs'
1111
__author__ = '''

dyn/tm/services/dsf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"""This module contains wrappers for interfacing with every element of a
33
Traffic Director (DSF) service.
44
"""
5-
from collections import Iterable
5+
try:
6+
from collections.abc import Iterable
7+
except ImportError:
8+
from collections import Iterable
69
from dyn.compat import force_unicode, string_types
710
from dyn.tm.utils import APIList, Active
811
from dyn.tm.errors import DynectInvalidArgumentError

0 commit comments

Comments
 (0)