Changeset 1518

Show
Ignore:
Timestamp:
06/03/04 23:53:24 (20 years ago)
Author:
jalet
Message:

crashrecipient directive

Files:
1 modified

Legend:

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

    r1495 r1518  
    2222# 
    2323# $Log$ 
     24# Revision 1.49  2004/06/03 21:53:24  jalet 
     25# crashrecipient directive 
     26# 
    2427# Revision 1.48  2004/05/24 22:45:49  jalet 
    2528# New 'enforcement' directive added 
     
    384387            return (policy, args) 
    385388         
     389    def getCrashRecipient(self) :     
     390        """Returns the email address of the software crash messages recipient.""" 
     391        try : 
     392            return self.getGlobalOption("crashrecipient") 
     393        except :     
     394            return 
     395             
    386396    def getSMTPServer(self) :     
    387397        """Returns the SMTP server to use to send messages to users."""