Changeset 459 for pkpgcounter/trunk/pkpgpdls/analyzer.py
- Timestamp:
- 07/26/07 23:54:09 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/analyzer.py
r450 r459 115 115 116 116 # Use a temporary file, always seekable contrary to standard input. 117 self.infile = tempfile.TemporaryFile(mode="w+b U")117 self.infile = tempfile.TemporaryFile(mode="w+b") # TODO : not opened in universal newline mode, Python 2.5 refuses. 118 118 while 1 : 119 119 data = infile.read(pdlparser.MEGABYTE)