diff --git a/condorpy/workflow.py b/condorpy/workflow.py index e622158..5987527 100644 --- a/condorpy/workflow.py +++ b/condorpy/workflow.py @@ -141,13 +141,12 @@ def _update_status(self, sub_job_num=None): raise HTCondorError('Job not found.') out = out.replace('\"', '').strip() + log.info('Job %s status: %s', job_id, out) for status_code_str in out: status_code = int(status_code_str) key = CONDOR_JOB_STATUSES[status_code] - log.info('Job %s status: %s', job_id, status_code) - return key def add_node(self, node):