Show
Ignore:
Timestamp:
02/08/07 22:23:59 (18 years ago)
Author:
jerome
Message:

Now uses Python's universal newline detection to read input files,
and also uses file objects directly instead of calling their xreadlines()
method.
Fixed an accounting problem in the PDF parser for some type of files.

Files:
1 modified

Legend:

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

    r443 r450  
    140140            mustclose = 0 
    141141        else :     
    142             infile = open(arg, "rb") 
     142            infile = open(arg, "rbU") 
    143143            mustclose = 1 
    144144        try :