Show
Ignore:
Timestamp:
09/01/04 01:29:53 (20 years ago)
Author:
jalet
Message:

Introduction of the new 'onaccountererror' configuration directive.
Small fix for software accounter's return code which can't be None anymore.
Make software and hardware accounting code look similar : will be factorized
later.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounter.py

    r1624 r1687  
    2222# 
    2323# $Log$ 
     24# Revision 1.19  2004/08/31 23:29:53  jalet 
     25# Introduction of the new 'onaccountererror' configuration directive. 
     26# Small fix for software accounter's return code which can't be None anymore. 
     27# Make software and hardware accounting code look similar : will be factorized 
     28# later. 
     29# 
    2430# Revision 1.18  2004/07/22 22:41:48  jalet 
    2531# Hardware accounting for LPRng should be OK now. UNTESTED. 
     
    97103        self.filter = kotafilter 
    98104        self.arguments = arguments 
     105        self.onerror = self.filter.config.getPrinterOnAccounterError(self.filter.printername) 
    99106        self.isSoftware = 1 # by default software accounting 
    100107