mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
The line_num member was only introduced with python 2.5, so we'll
do this a different way. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26445 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0bb14ddfc7
commit
8d94611a02
@ -159,7 +159,7 @@ for row in reader:
|
||||
num_cols = max(num_cols, len(row))
|
||||
rows.append(row)
|
||||
|
||||
num_rows = reader.line_num # number of lines
|
||||
num_rows = len(rows) # number of lines
|
||||
|
||||
# create a LyX file
|
||||
#####################
|
||||
|
Loading…
Reference in New Issue
Block a user