Just a small range->xrange addition.
This commit is contained in:
parent
140a9f69f0
commit
417e8255af
1 changed files with 1 additions and 1 deletions
|
|
@ -1250,7 +1250,7 @@ class EvTable(object):
|
||||||
|
|
||||||
if excess > 0:
|
if excess > 0:
|
||||||
# we need to add new empty columns to table
|
# we need to add new empty columns to table
|
||||||
empty_rows = ["" for i in range(htable)]
|
empty_rows = ["" for i in xrange(htable)]
|
||||||
self.table.extend([EvColumn(*empty_rows, **options) for i in xrange(excess)])
|
self.table.extend([EvColumn(*empty_rows, **options) for i in xrange(excess)])
|
||||||
self.ncols += excess
|
self.ncols += excess
|
||||||
elif excess < 0:
|
elif excess < 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue