Skip to content

Commit

Permalink
removing ordereddict support for 2.6 as we no longer support 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Dec 14, 2020
1 parent 3063308 commit 24edd9e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dpkt/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
def compat_ord(char):
return char

try:
from collections import OrderedDict
except ImportError:
# Python 2.6
OrderedDict = dict

try:
from itertools import izip
compat_izip = izip
Expand Down

0 comments on commit 24edd9e

Please sign in to comment.