~andrew-haigh-b/cdts/ui

« back to all changes in this revision

Viewing changes to plainbox/plainbox/impl/commands/sru.py

  • Committer: Tarmac
  • Author(s): Zygmunt Krynicki
  • Date: 2013-07-04 15:14:28 UTC
  • mfrom: (2226.1.3 launchpad/session2)
  • Revision ID: tarmac-20130704151428-pp57iuxdl537txxy
"[r=zkrynicki][bug=][author=zkrynicki] automatic merge by tarmac"

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
"""
29
29
import logging
30
30
import os
 
31
import sys
31
32
import tempfile
32
33
 
33
34
from requests.exceptions import ConnectionError, InvalidSchema, HTTPError
178
179
 
179
180
    def _run_single_job(self, job):
180
181
        print("- {}:".format(job.name), end=' ')
 
182
        sys.stdout.flush()
181
183
        job_state, job_result = run_job_if_possible(
182
184
            self.session, self.runner, self.config, job)
183
185
        print("{0}".format(job_result.outcome))
 
186
        sys.stdout.flush()
184
187
        if job_result.comments is not None:
185
188
            print("comments: {0}".format(job_result.comments))
186
189
        if job_state.readiness_inhibitor_list: