Show
Ignore:
Timestamp:
05/28/03 01:00:21 (21 years ago)
Author:
jalet
Message:

Big rewrite of external accounting methods.
Should work well now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/stupid.py

    r977 r1000  
    2121# 
    2222# $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# 
    2327# Revision 1.2  2003/04/30 13:40:47  jalet 
    2428# Small fix 
     
    4448         
    4549        # get the job size     
    46         jobsize = self.getJobSize() 
     50        jobsize = self.getJobSize() * self.filter.copies 
    4751             
    4852        # get last job information for this printer 
     
    8690        pagecount = 0 
    8791        for line in infile.xreadlines() : 
    88             if line.startswith("showpage") : 
    89                 pagecount += 1 
     92            pagecount += line.count("showpage") 
    9093            if temporary is not None :     
    9194                temporary.write(line)