Changeset 854 for pykota

Show
Ignore:
Timestamp:
03/16/03 10:56:52 (22 years ago)
Author:
jalet
Message:

Mailto option now accepts some additional values which all mean that
nobody will receive any email message.
Mailto option now works. Version 1.01 is now officially out.

Files:
1 modified

Legend:

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

    r853 r854  
    1515# 
    1616# $Log$ 
     17# Revision 1.19  2003/03/16 09:56:52  jalet 
     18# Mailto option now accepts some additional values which all mean that 
     19# nobody will receive any email message. 
     20# Mailto option now works. Version 1.01 is now officially out. 
     21# 
    1722# Revision 1.18  2003/03/16 08:00:50  jalet 
    1823# Default hard coded options are now used if they are not set in the 
     
    214219    def getMailTo(self, printer) :     
    215220        """Returns the recipient of email messages.""" 
    216         validmailtos = [ "DEVNULL", "BOTH", "USER", "ADMIN" ] 
     221        validmailtos = [ "NOBODY", "NONE", "NOONE", "BITBUCKET", "DEVNULL", "BOTH", "USER", "ADMIN" ] 
    217222        try : 
    218223            mailto = self.getPrinterOption(printer, "mailto").upper()