From: W. Trevor King Date: Sun, 24 Oct 2010 14:19:30 +0000 (-0400) Subject: Print the CommandError of failed sawsim executions. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b960208aeb140e7663486cded70abc2d536f90e;p=sawsim.git Print the CommandError of failed sawsim executions. --- diff --git a/pysawsim/sawsim.py b/pysawsim/sawsim.py index 0e73940..a8c55fc 100644 --- a/pysawsim/sawsim.py +++ b/pysawsim/sawsim.py @@ -184,7 +184,7 @@ class SawsimRunner (object): [job.id for job in jobs.itervalues()]) for i,job in jobs.iteritems(): j = complete_jobs[job.id] - assert j.status == 0, j.data + assert j.status == 0, j.data['error'] if self._use_cache == True: self._cache_run(d, j.data['stdout']) yield self.parse(j.data['stdout'])