Show
Ignore:
Timestamp:
08/26/06 23:22:46 (18 years ago)
Author:
jerome
Message:

Ensures the size is initialized even in case an exception occurs.

Files:
1 modified

Legend:

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

    r367 r370  
    6060    def getJobSize(self) :     
    6161        """Returns the job's size.""" 
     62        size = 0 
    6263        self.openFile() 
    6364        try : 
     
    7172            finally :     
    7273                self.closeFile() 
    73             return size 
     74        return size 
    7475             
    7576    def getInkCoverage(self, colorspace=None, resolution=None) :