Show
Ignore:
Timestamp:
10/08/03 23:41:38 (21 years ago)
Author:
jalet
Message:

External policies for printers works !
We can now auto-add users on first print, and do other useful things if needed.

Files:
1 modified

Legend:

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

    r1144 r1152  
    2222# 
    2323# $Log$ 
     24# Revision 1.53  2003/10/08 21:41:38  jalet 
     25# External policies for printers works ! 
     26# We can now auto-add users on first print, and do other useful things if needed. 
     27# 
    2428# Revision 1.52  2003/10/07 09:07:28  jalet 
    2529# Character encoding added to please latest version of Python 
     
    435439                 
    436440        # then we check the user's own quota 
    437         policy = self.config.getPrinterPolicy(printer.Name) 
     441        # if we get there we are sure that policy is not EXTERNAL 
     442        (policy, dummy) = self.config.getPrinterPolicy(printer.Name) 
    438443        if user.LimitBy and (user.LimitBy.lower() == "balance") :  
    439444            if user.AccountBalance is None :