cubicweb #14407650 count_lines function in dataimport is buggy [validation pending]

if loading from an empty file, we get an "UnboundLocalError: local variable 'i' referenced before assignment" since the for loop never iterates, so i do not exists

prioritynormal
typebug
done in3.20.16
load0.250
load left0.000
closed by#5a366414d904 [dataimport] fix count_lines function (closes #14407650)
patch[dataimport] fix count_lines fuction (closes #14407650) [applied]