Merge lp://staging/~abentley/ci-director/omit-missing into lp://staging/ci-director
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Merged at revision: | 172 |
Proposed branch: | lp://staging/~abentley/ci-director/omit-missing |
Merge into: | lp://staging/ci-director |
Diff against target: |
46 lines (+26/-1) 2 files modified
cidirector/tests/test_update_outcome.py (+22/-0) cidirector/update_outcome.py (+4/-1) |
To merge this branch: | bzr merge lp://staging/~abentley/ci-director/omit-missing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email:
|
Commit message
Omit missing days instead of setting to None.
Description of the change
This branch fixes a bug in load_cloud_health.
The results of load_cloud_health are supposed to be a dictionary of dictionaries, where every sub-dictionary describes a particular job. But if no data exists for a given day, the result is a dictionary where its key is set to None instead of a dictionary.
This branch fixes it to omit missing days from the dictionary.
To post a comment you must log in.
Thank you.