Show
Ignore:
Timestamp:
07/26/07 23:54:09 (17 years ago)
Author:
jerome
Message:

Fixed problem with Python 2.5

Location:
pkpgcounter/trunk/pkpgpdls
Files:
2 modified

Legend:

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

    r450 r459  
    115115             
    116116        # Use a temporary file, always seekable contrary to standard input. 
    117         self.infile = tempfile.TemporaryFile(mode="w+bU") 
     117        self.infile = tempfile.TemporaryFile(mode="w+b") # TODO : not opened in universal newline mode, Python 2.5 refuses. 
    118118        while 1 : 
    119119            data = infile.read(pdlparser.MEGABYTE)  
  • pkpgcounter/trunk/pkpgpdls/version.py

    r458 r459  
    2323 
    2424 
    25 __version__ = "2.18alpha" 
     25__version__ = "2.18" 
    2626 
    2727__doc__ = """pkpgcounter : a generic Page Description Languages parser."""