Changeset 459

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

Fixed problem with Python 2.5

Location:
pkpgcounter/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/CREDITS

    r443 r459  
    3535  - Franck (?) : sent a path to improve the PostScript parser when 
    3636                 the PS code generated several copies. 
     37                  
     38  - Yves Lavoie : reported a bug with Python 2.5                  
    3739 
    3840============================================================== 
  • pkpgcounter/trunk/debian/manpage.1

    r458 r459  
    11.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36. 
    2 .TH PKPGCOUNTER "1" "June 2007" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
     2.TH PKPGCOUNTER "1" "July 2007" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NAME 
    4 pkpgcounter \- manual page for pkpgcounter 2.17 
     4pkpgcounter \- manual page for pkpgcounter 2.18 
    55.SH DESCRIPTION 
    6 pkpgcounter v2.17 (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet 
     6pkpgcounter v2.18 (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet 
    77.PP 
    88pkpgcounter is a generic Page Description Language parser. 
  • pkpgcounter/trunk/man/pkpgcounter.1

    r456 r459  
    11.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36. 
    2 .TH PKPGCOUNTER "1" "June 2007" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
     2.TH PKPGCOUNTER "1" "July 2007" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NAME 
    4 pkpgcounter \- manual page for pkpgcounter 2.17 
     4pkpgcounter \- manual page for pkpgcounter 2.18 
    55.SH DESCRIPTION 
    6 pkpgcounter v2.17 (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet 
     6pkpgcounter v2.18 (c) 2003, 2004, 2005, 2006, 2007 Jerome Alet 
    77.PP 
    88pkpgcounter is a generic Page Description Language parser. 
  • 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."""