Changeset 2026 for pykota/trunk

Show
Ignore:
Timestamp:
01/12/05 15:44:27 (20 years ago)
Author:
jalet
Message:

Fixed a fuckingly strange exception by cleverly ignoring it entirely :-)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/pdlanalyzer.py

    r2012 r2026  
    2222# 
    2323# $Log$ 
     24# Revision 1.51  2005/01/12 14:44:27  jalet 
     25# Fixed a fuckingly strange exception by cleverly ignoring it entirely :-) 
     26# 
    2427# Revision 1.50  2005/01/07 15:53:58  jalet 
    2528# Another fix for PCL3/4/5 
     
    11011104        try : 
    11021105            self.infile.seek(-LASTBLOCKSIZE, 2) 
     1106            lastblock = self.infile.read(LASTBLOCKSIZE) 
    11031107        except IOError :     
    11041108            lastblock = "" 
    1105         else :     
    1106             lastblock = self.infile.read(LASTBLOCKSIZE) 
     1109             
    11071110        self.infile.seek(0) 
    11081111        if self.isPostScript(firstblock, lastblock) :