Merge ~ines-almeida/launchpad:fix-infer-pro-enable-function into launchpad:master
Proposed by
Ines Almeida
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | ee5dea5be0cad62984aeccbb65a42237e89b364a |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ines-almeida/launchpad:fix-infer-pro-enable-function |
Merge into: | launchpad:master |
Diff against target: |
140 lines (+62/-4) 4 files modified
lib/lp/code/model/branchhosting.py (+7/-1) lib/lp/code/model/tests/test_branchhosting.py (+12/-3) lib/lp/snappy/model/snap.py (+2/-0) lib/lp/snappy/tests/test_snap.py (+41/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+454815@code.launchpad.net |
Commit message
Catch revision ID not well formatted exception in inferProEnable
Description of the change
Currently, the garbo job to populate the pro-enable value is failing in production with a `ValueError: Revision ID '<revision_id>' is not well-formed.`
Here we are catching that error and setting those to False by default.
Also took the chance to add more unit tests.
To post a comment you must log in.
Sounds good, updated