Changeset 1545

Show
Ignore:
Timestamp:
06/18/04 15:17:26 (20 years ago)
Author:
jalet
Message:

Now includes PyKota's version number in messages sent by the crashrecipient
directive.

Location:
pykota/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r1544 r1545  
    2222PyKota NEWS : 
    2323 
     24    - 1.19alpha23 : 
     25     
     26        - Messages sent by the crashrecipient directive now include 
     27          PyKota's version number. 
     28           
    2429    - 1.19alpha22 : 
    2530     
  • pykota/trunk/pykota/tool.py

    r1542 r1545  
    2222# 
    2323# $Log$ 
     24# Revision 1.103  2004/06/18 13:17:26  jalet 
     25# Now includes PyKota's version number in messages sent by the crashrecipient 
     26# directive. 
     27# 
    2428# Revision 1.102  2004/06/17 13:26:51  jalet 
    2529# Better exception handling code 
     
    477481            if crashrecipient : 
    478482                admin = self.config.getAdminMail("global") # Nice trick, isn't it ? 
    479                 fullmessage = "========== Traceback :\n\n%s\n\n========== sys.argv :\n\n%s\n\n========== Environment :\n\n%s\n" % \ 
    480                                 (msg, \ 
     483                fullmessage = "========== Traceback for PyKota v%s :\n\n%s\n\n========== sys.argv :\n\n%s\n\n========== Environment :\n\n%s\n" % \ 
     484                                (version.__version__, msg, \ 
    481485                                 "\n".join(["    %s" % repr(a) for a in sys.argv]), \ 
    482486                                 "\n".join(["    %s=%s" % (k, v) for (k, v) in os.environ.items()])) 
  • pykota/trunk/pykota/version.py

    r1542 r1545  
    2222# 
    2323 
    24 __version__ = "1.19alpha22_unofficial" 
     24__version__ = "1.19alpha23_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""