Changeset 1000 for pykota/trunk/pykota/accounters/stupid.py
- Timestamp:
- 05/28/03 01:00:21 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/stupid.py
r977 r1000 21 21 # 22 22 # $Log$ 23 # Revision 1.3 2003/05/27 23:00:21 jalet 24 # Big rewrite of external accounting methods. 25 # Should work well now. 26 # 23 27 # Revision 1.2 2003/04/30 13:40:47 jalet 24 28 # Small fix … … 44 48 45 49 # get the job size 46 jobsize = self.getJobSize() 50 jobsize = self.getJobSize() * self.filter.copies 47 51 48 52 # get last job information for this printer … … 86 90 pagecount = 0 87 91 for line in infile.xreadlines() : 88 if line.startswith("showpage") : 89 pagecount += 1 92 pagecount += line.count("showpage") 90 93 if temporary is not None : 91 94 temporary.write(line)