Skip to content

Commit

Permalink
Merge pull request jazzband#194 from tommyanthony/develop
Browse files Browse the repository at this point in the history
Fixed a compatibility bug for Python 3
  • Loading branch information
iurisilvio committed May 27, 2015
2 parents 2465752 + b3485ec commit a785d77
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -28,3 +28,4 @@ Patches and Suggestions
- Marc Abramowitz
- Alex Gaynor
- James Douglass
- Tommy Anthony
2 changes: 2 additions & 0 deletions tablib/compat.py
Expand Up @@ -37,6 +37,7 @@
unicode = str
bytes = bytes
basestring = str
xrange = range

else:
from cStringIO import StringIO as BytesIO
Expand All @@ -53,3 +54,4 @@
import tablib.packages.dbfpy as dbfpy

unicode = unicode
xrange = xrange
2 changes: 1 addition & 1 deletion tablib/formats/_xls.py
Expand Up @@ -5,7 +5,7 @@

import sys

from tablib.compat import BytesIO, xlwt, xlrd, XLRDError
from tablib.compat import BytesIO, xlwt, xlrd, XLRDError, xrange
import tablib

title = 'xls'
Expand Down

0 comments on commit a785d77

Please sign in to comment.