From 1b960208aeb140e7663486cded70abc2d536f90e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 24 Oct 2010 10:19:30 -0400 Subject: [PATCH] Print the CommandError of failed sawsim executions. --- pysawsim/sawsim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) -- 2.26.2