Skip to content

Commit

Permalink
Merge pull request #1707 from carlbordum/fix-deprecated-import
Browse files Browse the repository at this point in the history
Fix deprecated import
  • Loading branch information
gpotter2 authored Nov 18, 2018
2 parents de9d564 + c8acb22 commit 807168b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scapy/layers/dhcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

from __future__ import absolute_import
from __future__ import print_function
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
# For backwards compatibility. This was removed in Python 3.8
from collections import Iterable
import random
import struct

Expand Down

0 comments on commit 807168b

Please sign in to comment.