IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 14, 2004, 10:01:52 AM (22 years ago)
Author:
desonia
Message:

Updated files in src/collections to use new psError functionality. Also
cleaned up the code where needed, removing unnecessary error conditions,
etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/parseErrorCodes.pl

    r1748 r1807  
    3434    }
    3535    else {
    36         /^\s*(\w+)\s+([\%\w].*)/;
    37         my $ErrorCode        = $1;
    38         my $ErrorDescription = $2;
    39         print "  $ErrorCode: '$ErrorDescription'\n" if $verbose;
    40         push( @ErrorCodes,        $ErrorCode );
    41         push( @ErrorDescriptions, $ErrorDescription );
    42 
     36        if (/^\s*(\w+)\s+([\%\w].*)/) {
     37            my $ErrorCode        = $1;
     38            my $ErrorDescription = $2;
     39            print "  $ErrorCode: '$ErrorDescription'\n" if $verbose;
     40            push( @ErrorCodes,        $ErrorCode );
     41            push( @ErrorDescriptions, $ErrorDescription );
     42        } else {
     43            print "I $_\n" if $verbose;
     44        }
    4345    }
    4446}
Note: See TracChangeset for help on using the changeset viewer.