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:
Richard Heck 2008-09-18 16:57:56 +00:00
parent 0bb14ddfc7
commit 8d94611a02

View File

@ -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
#####################