Changeset 1713 for pykota/trunk/bin

Show
Ignore:
Timestamp:
09/13/04 18:02:45 (20 years ago)
Author:
jalet
Message:

Added fix for incorrect job's size when hardware accounting fails

Location:
pykota/trunk/bin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r1704 r1713  
    2424# 
    2525# $Log$ 
     26# Revision 1.72  2004/09/13 16:02:44  jalet 
     27# Added fix for incorrect job's size when hardware accounting fails 
     28# 
    2629# Revision 1.71  2004/09/06 17:05:06  jalet 
    2730# Fix for autodetection of SC_OPEN_MAX 
     
    439442                self.printInfo(_("Job size forced to 0 because printing is denied.")) 
    440443            else :     
    441                 jobsize = self.accounter.getJobSize() 
     444                jobsize = self.accounter.getJobSize(printer) 
    442445            self.printInfo(_("Job size : %i") % jobsize) 
    443446             
  • pykota/trunk/bin/lprngpykota

    r1696 r1713  
    2424# 
    2525# $Log$ 
     26# Revision 1.7  2004/09/13 16:02:44  jalet 
     27# Added fix for incorrect job's size when hardware accounting fails 
     28# 
    2629# Revision 1.6  2004/09/02 14:40:13  jalet 
    2730# Another bunch of LPRng fixes 
     
    141144        if self.accounter.isSoftware : 
    142145            self.accounter.endJob(printer) 
    143             jobsize = self.accounter.getJobSize() 
     146            jobsize = self.accounter.getJobSize(printer) 
    144147            self.logdebug("Job accounting ends.") 
    145148             
     
    216219                 
    217220            # retrieve the job size     
    218             jobsize = self.accounter.getJobSize() 
     221            jobsize = self.accounter.getJobSize(printer) 
    219222             
    220223            self.logdebug("Job size : %i" % jobsize)