Merge lp://staging/~rockstar/bzr-builder/fix-underunder-str-underunder into lp://staging/bzr-builder
Proposed by
Paul Hummer
Status: | Merged |
---|---|
Merged at revision: | 106 |
Proposed branch: | lp://staging/~rockstar/bzr-builder/fix-underunder-str-underunder |
Merge into: | lp://staging/bzr-builder |
Diff against target: |
37 lines (+11/-7) 1 file modified
recipe.py (+11/-7) |
To merge this branch: | bzr merge lp://staging/~rockstar/bzr-builder/fix-underunder-str-underunder |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Needs Fixing | ||
Review via email: mp+35560@code.staging.launchpad.net |
Description of the change
This branch takes the logic of __str__ and puts it in a method that takes a validate parameter. By doing this, it allows us a fallback plan in cases where the recipe may be invalid. For Launchpad at least, this actually means that users that may have corrupt data stored in the database can fix the problem themselves.
To post a comment you must log in.
Hi,
The manifest creation code uses str(), and I think it should validate.
In addition, I would like to see tests for this new code. Let me know
if you want help with that.
Thanks,
James