Skip to content

Commit

Permalink
Merge pull request #143 from siijmDqEaiPR/patch-1
Browse files Browse the repository at this point in the history
Python 3.10 compatibility
  • Loading branch information
StoneTools authored Feb 25, 2022
2 parents 12a0ee8 + 89f2013 commit 6dbf1ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dyn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Requires Python 2.6 or higher, or the "simplejson" package.
"""
version_info = (1, 8, 3)
version_info = (1, 8, 4)
__name__ = 'dyn'
__doc__ = 'A python wrapper for the DynDNS and DynEmail APIs'
__author__ = '''
Expand Down
5 changes: 4 additions & 1 deletion dyn/tm/services/dsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"""This module contains wrappers for interfacing with every element of a
Traffic Director (DSF) service.
"""
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from dyn.compat import force_unicode, string_types
from dyn.tm.utils import APIList, Active
from dyn.tm.errors import DynectInvalidArgumentError
Expand Down

0 comments on commit 6dbf1ae

Please sign in to comment.