Merge lp://staging/~brian-murray/daisy/bugs-to-crash-sig into lp://staging/daisy
Proposed by
Brian Murray
Status: | Merged |
---|---|
Merged at revision: | 284 |
Proposed branch: | lp://staging/~brian-murray/daisy/bugs-to-crash-sig |
Merge into: | lp://staging/daisy |
Diff against target: |
72 lines (+39/-0) 3 files modified
daisy/schema.py (+4/-0) tools/build_bugs_to_crash_sigs.py (+32/-0) tools/import_bugs.py (+3/-0) |
To merge this branch: | bzr merge lp://staging/~brian-murray/daisy/bugs-to-crash-sig |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Evan (community) | Approve | ||
Review via email: mp+155876@code.staging.launchpad.net |
Description of the change
This creates a BugToCrashSigna
To post a comment you must log in.
This looks good, save one small issue that I'll fix after merging:
+ bug = int(data. get('CreatedBug ', ''))
If CreatedBug doesn't exist, the code will execute int(''), which will raise a ValueError. However, we'll actually always have CreatedBug since the rules for specifying a list of columns are that Cassandra will return rows with *any* of the columns. Since we're only specifying the one, we'll only get rows with the CreatedBug column.