summaryrefslogtreecommitdiff
path: root/addons/base/static/src
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2011-04-20 18:24:13 +0300
committerP. Christeas <p_christ@hol.gr>2011-04-20 18:24:13 +0300
commit289ebadbb4f57979ae0928443ae653d8d3a6b615 (patch)
tree4aa3d4970ff373f41f3fdac15e5da0d6fc382ea1 /addons/base/static/src
parent2703b86ef35f89740c4a172c8eb1f102078ad6fd (diff)
orm: at csv import, properly report lines with less columns
The "if not line[i]" check would cause an IndexError earlier than the exception. Also, report the line number where that happened. (the +2 op. is needed because we skip 1 for header and count at 0) (cherry picked from commit 7f7e84e32405d4552b8f1b156d359d629bbca353) bzr revid: p_christ@hol.gr-20110420152413-knedwepb0tmersw4
Diffstat (limited to 'addons/base/static/src')
0 files changed, 0 insertions, 0 deletions