mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
fallback to compat OrderedDict if collections.OrderedDict unavailable
This commit is contained in:
committed by
Ivan Malison
parent
9038bc9066
commit
fc4e985ee9
@@ -1,6 +1,9 @@
|
||||
from six import BytesIO
|
||||
from six.moves.urllib.parse import urlparse, urlencode, urlunparse
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
from .compat.ordereddict import OrderedDict
|
||||
import copy
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user