Changeset 1560

Show
Ignore:
Timestamp:
06/21/04 10:17:38 (20 years ago)
Author:
jalet
Message:

Added version number in subject message for directive crashrecipient.

Files:
1 modified

Legend:

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

    r1546 r1560  
    2222# 
    2323# $Log$ 
     24# Revision 1.105  2004/06/21 08:17:38  jalet 
     25# Added version number in subject message for directive crashrecipient. 
     26# 
    2427# Revision 1.104  2004/06/18 13:34:49  jalet 
    2528# Now all tracebacks include PyKota's version number 
     
    495498                server = smtplib.SMTP(self.smtpserver) 
    496499                server.sendmail(admin, [admin, crashrecipient], \ 
    497                                        "From: %s\nTo: %s\nCc: %s\nSubject: PyKota crash traceback !\n\n%s" % \ 
    498                                        (admin, crashrecipient, admin, fullmessage)) 
     500                                       "From: %s\nTo: %s\nCc: %s\nSubject: PyKota v%s crash traceback !\n\n%s" % \ 
     501                                       (admin, crashrecipient, admin, version.__version__, fullmessage)) 
    499502                server.quit() 
    500503        except :