IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29673


Ignore:
Timestamp:
Nov 4, 2010, 2:17:57 PM (16 years ago)
Author:
bills
Message:

add line number to warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_request_file

    r29672 r29673  
    273273        if ($comment) {
    274274            if ($comment =~ /#/) {
    275                 print STDERR "WARNING '#' character removed from comment.\n";
     275                print STDERR "WARNING '#' character removed from comment on line $line_num.\n";
    276276                $comment =~ s/#/ /;
    277277            }
    278278            if (length($comment) > 63) {
    279                 print STDERR "WARNING comment too long truncating to 63 characters.\n";
     279                print STDERR "WARNING comment too long truncating to 63 characters on line $line_num.\n";
    280280                $comment = substr($comment, 0, 63);
    281281            }
Note: See TracChangeset for help on using the changeset viewer.