Merge lp:~michael.nelson/launchpad/589058-upload-rejected-date-started-not-set into lp:launchpad
Proposed by
Michael Nelson
on 2010-06-09
| Status: | Merged |
|---|---|
| Approved by: | Edwin Grubbs on 2010-06-09 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 10981 |
| Proposed branch: | lp:~michael.nelson/launchpad/589058-upload-rejected-date-started-not-set |
| Merge into: | lp:launchpad |
| Diff against target: |
71 lines (+36/-5) 2 files modified
lib/lp/soyuz/model/binarypackagebuild.py (+6/-5) lib/lp/soyuz/tests/test_binarypackagebuild.py (+30/-0) |
| To merge this branch: | bzr merge lp:~michael.nelson/launchpad/589058-upload-rejected-date-started-not-set |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Edwin Grubbs (community) | code | 2010-06-09 | Approve on 2010-06-09 |
|
Review via email:
|
|||
Description of the Change
This fixes bug 589068 (despite the branch name) by ensuring that, when estimating the duration of a build, the previous build is only used if it has both date_started and date_finished.
See the bug for why there are completed builds without date_started (rollout related). This branch just makes sure we don't fall over when this occurs.
to test:
bin/test -vvm test_binarypack
No lint (although strange exceptions while running `make lint`.
To post a comment you must log in.

Looks good.