Changeset 1321

Show
Ignore:
Timestamp:
01/30/04 17:35:03 (21 years ago)
Author:
jalet
Message:

Fixes stupid software accounting bug in CUPS backend

Location:
pykota/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r1302 r1321  
    2424# 
    2525# $Log$ 
     26# Revision 1.26  2004/01/30 16:35:03  jalet 
     27# Fixes stupid software accounting bug in CUPS backend 
     28# 
    2629# Revision 1.25  2004/01/16 17:51:46  jalet 
    2730# Fuck Fuck Fuck !!! 
     
    214217                 
    215218            # retrieve the job size     
    216             jobsize = self.accounter.getJobSize() 
     219            if action == "DENY" : 
     220                jobsize = 0 
     221                self.logdebug("Job size forced to 0 because printing is denied.") 
     222            else :     
     223                jobsize = self.accounter.getJobSize() 
    217224            self.logdebug("Job size : %i" % jobsize) 
    218225             
  • pykota/trunk/NEWS

    r1318 r1321  
    2222PyKota NEWS : 
    2323 
     24    - 1.17alpha2 :  
     25     
     26        - Fix stupid software accounting bug in the CUPS backend. 
     27         
    2428    - 1.17alpha1 : 
    2529     
  • pykota/trunk/pykota/version.py

    r1318 r1321  
    2222# 
    2323 
    24 __version__ = "1.17alpha1_unofficial" 
     24__version__ = "1.17alpha2_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""