Don't use ORderedDict backport on python 3
This commit is contained in:
parent
30997d999d
commit
d32454ebb8
|
@ -20,6 +20,10 @@
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
# OTHER DEALINGS IN THE SOFTWARE.
|
# OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
import sys
|
||||||
|
if sys.version[0] > '2':
|
||||||
|
from collections import OrderedDict
|
||||||
|
else:
|
||||||
from UserDict import DictMixin
|
from UserDict import DictMixin
|
||||||
|
|
||||||
class OrderedDict(dict, DictMixin):
|
class OrderedDict(dict, DictMixin):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user