Message ID | 20110822054113.4039.20697.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_scheduler_app/views.py' --- lava_scheduler_app/views.py 2011-08-22 03:26:03 +0000 +++ lava_scheduler_app/views.py 2011-08-22 05:21:44 +0000 @@ -80,7 +80,7 @@ if skipped: response['X-Skipped-Bytes'] = str(skipped) response['X-Current-Size'] = str(start + len(content)) - if job.status != TestJob.RUNNING: + if job.status not in [TestJob.RUNNING, TestJob.CANCELING]: response['X-Is-Finished'] = '1' return response