Changeset 2316 for pykota/trunk/pykota/pdlanalyzer.py
- Timestamp:
- 06/15/05 20:44:13 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/pdlanalyzer.py
r2302 r2316 467 467 # pagecount = endgfx 468 468 469 470 469 if pagecount == mediasourcecount == escstart : 471 470 pass # should be OK. … … 476 475 elif startgfx == (endgfx - 1) : 477 476 pagecount = startgfx 477 elif (startgfx == 1) and not endgfx : 478 pass 478 479 else : 479 480 pagecount = abs(startgfx - endgfx) … … 972 973 # Try to detect file type by reading first block of datas 973 974 self.infile.seek(0) 974 firstblock = self.infile.read( 4* KILOBYTE)975 firstblock = self.infile.read(16 * KILOBYTE) 975 976 try : 976 977 self.infile.seek(-LASTBLOCKSIZE, 2)