Show
Ignore:
Timestamp:
01/05/06 06:48:01 (19 years ago)
Author:
jerome
Message:

Small fix for error message when a size error is encountered.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/pclxl.py

    r299 r300  
    138138                            size = unpack(self.endianness + "I", self.minfile[pos+3:startpos])[0] 
    139139                        else :     
    140                             raise pdlparser.PDLParserError, "Error on size at %s" % pos+2 
     140                            raise pdlparser.PDLParserError, "Error on size at %s" % (pos+2) 
    141141                        break 
    142142                mediatypelabel = minfile[startpos:startpos+size]