Skip to content

Commit 036a96f

Browse files
committed
ENH: print "error" if header field is missing
1 parent 7d6f4f0 commit 036a96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/nib-ls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def proc_file(f, opts):
198198
try:
199199
row += [str(h[f])]
200200
except (KeyError, ValueError):
201-
row += [ '' ]
201+
row += [ 'error' ]
202202

203203
try:
204204
if (hasattr(h, 'get_qform') and hasattr(h, 'get_sform')

0 commit comments

Comments
 (0)