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/postscript.py

    r448 r450  
    9191        acrobatmarker = 0 
    9292        pagescomment = None 
    93         for line in self.infile.xreadlines() :  
     93        for line in self.infile :  
    9494            if (not prescribe) and line.startswith(r"%%BeginResource: procset pdf") \ 
    9595               and not acrobatmarker :