Skip to content

Commit

Permalink
FIX Py 2.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Aug 2, 2023
1 parent 051a635 commit c26eb3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion surfer/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from collections.abc import Sequence
try:
from collections.abc import Sequence
except ImportError: # Py 2.7
from collections import Sequence
from distutils.version import LooseVersion
import logging
import warnings
Expand Down

0 comments on commit c26eb3b

Please sign in to comment.