Fix reader.py logging when using -C

This commit is contained in:
Dimitri Fontaine 2010-08-25 18:00:21 +02:00
parent 4e5fec95e3
commit d9c923590e

View File

@ -271,7 +271,7 @@ class UnbufferedFileReader:
if COUNT is not None and self.reading \
and (self.line_nb - self.skip_head_lines + 1) > COUNT:
self.log.info('reached line %d, stopping', nb_lines)
self.log.info('reached line %d, stopping', self.line_nb)
return
# check EOF (real or multi-readers)