Skip to content

Commit

Permalink
Python 3.10 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
siijmDqEaiPR authored Feb 25, 2022
1 parent 12a0ee8 commit abb6236
Showing 1 changed file with 4 additions and 1 deletion.
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 abb6236

Please sign in to comment.