mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Fix reader.py logging when using -C
This commit is contained in:
parent
4e5fec95e3
commit
d9c923590e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user