Skip to content

Commit 3a71798

Browse files
committed
code optimization
1 parent fd29e7e commit 3a71798

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pyexcel_xls/xlsr.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@
77
:copyright: (c) 2016-2017 by Onni Software Ltd
88
:license: New BSD License
99
"""
10-
import sys
1110
import math
1211
import datetime
1312
import xlrd
1413

1514
from pyexcel_io.book import BookReader
1615
from pyexcel_io.sheet import SheetReader
17-
18-
PY2 = sys.version_info[0] == 2
19-
if PY2 and sys.version_info[1] < 7:
20-
from ordereddict import OrderedDict
21-
else:
22-
from collections import OrderedDict
16+
from pyexcel_io._compact import OrderedDict
2317

2418

2519
XLS_KEYWORDS = [

0 commit comments

Comments
 (0)