Show
Ignore:
Timestamp:
07/07/08 08:01:55 (5 months ago)
Author:
rob
Message:

Added exit code display to process output

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/peppy/sidebar.py

    r1439 r1463  
    101101        """ 
    102102        self.startCallback(job) 
    103         text = "\n" + _("Started %s on %s") % (job.cmd, time.asctime(time.localtime(time.time()))) + "\n" 
     103        text = "\n" + _(">> Started %s on %s") % (job.cmd, time.asctime(time.localtime(time.time()))) + "\n" 
    104104        Publisher().sendMessage('peppy.log.info', (self.frame, text)) 
    105105 
     
    115115        """Callback from the JobOutputMixin when the job terminates.""" 
    116116        self.finishCallback(job) 
    117         text = "\n" + _("Finished %s on %s") % (job.cmd, time.asctime(time.localtime(time.time()))) + "\n" 
     117        text = "\n" + _(">> exit code = %d\n>> Finished %s on %s") % (job.exit_code, job.cmd, time.asctime(time.localtime(time.time()))) + "\n" 
    118118        Publisher().sendMessage('peppy.log.info', (self.frame, text))