Skip to content

Commit 7c378cd

Browse files
committed
fix build issue
1 parent 94d051b commit 7c378cd

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ python:
88
- 2.7
99
- 3.3
1010
- 3.4
11-
- 3.5
1211
install:
1312
- pip install -r requirements.txt
1413
- pip install -r test_requirements.txt

polls/views.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@
66
from polls.models import Question, Choice
77
import pyexcel.ext.xls
88
import pyexcel.ext.xlsx
9-
import sys
10-
PY2 = sys.version_info[0] == 2
11-
if PY2:
12-
import pyexcel.ext.ods
13-
else:
14-
import pyexcel.ext.ods3
9+
import pyexcel.ext.ods3
1510

1611

1712
data = [

0 commit comments

Comments
 (0)