Skip to content

Commit 7369e5a

Browse files
committed
Fix bug when reporting format parse failure
1 parent ae56318 commit 7369e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎astropy/table/pprint.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def format_col_str(idx):
453453
raise ValueError(
454454
'Unable to parse format string "{0}" for entry "{1}" '
455455
'in column "{2}"'.format(col_format, col[idx],
456-
col.name))
456+
col.info.name))
457457

458458
outs['show_length'] = show_length
459459
outs['n_header'] = n_header

0 commit comments

Comments
 (0)