Changeset 3256
- Timestamp:
- 11/20/07 00:01:06 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/software.py
r3252 r3256 55 55 self.filter.printInfo("Precomputed job size will be forced to 0 pages.", "error") 56 56 else : 57 infile = open(self.filter.DataFile, "rb")58 57 try : 59 parser = analyzer.PDLAnalyzer( infile)58 parser = analyzer.PDLAnalyzer(self.filter.DataFile) 60 59 jobsize = parser.getJobSize() 61 60 except pdlparser.PDLParserError, msg : … … 71 70 # must generate the correct number of copies. 72 71 jobsize *= self.filter.Ticket.Copies 73 except AttributeError : # When not run from the cupspykota backend 72 except AttributeError : # When not run from the cupspykota backend 74 73 pass 75 infile.close()76 74 return jobsize 77 75