diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-01-01 09:58:53 -0800 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2019-01-01 10:02:13 -0800 |
| commit | dd2ba714d3eec5e6a14bdac27b4e6467b6dfb439 (patch) | |
| tree | 87a02a19773968fe1f3bbc8e999ca22df7f05510 /tablib/compat.py | |
| parent | 5a359ba4def1611b34df003bec58439a125d4e56 (diff) | |
| download | tablib-dd2ba714d3eec5e6a14bdac27b4e6467b6dfb439.tar.gz | |
Remove vendored ordereddict package
Now that Python 2.6 support has been dropped, can remove the vendored
ordereddict package. Use the stdlib collections.OrderedDict instead.
Diffstat (limited to 'tablib/compat.py')
| -rw-r--r-- | tablib/compat.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tablib/compat.py b/tablib/compat.py index d60ce72..916d6ab 100644 --- a/tablib/compat.py +++ b/tablib/compat.py @@ -13,13 +13,6 @@ import sys is_py3 = (sys.version_info[0] > 2) - -try: - from collections import OrderedDict -except ImportError: - from tablib.packages.ordereddict import OrderedDict - - if is_py3: from io import BytesIO from itertools import zip_longest as izip_longest |
