Merge ~cjwatson/launchpad-buildd:backend-find-empty-output into launchpad-buildd:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | b79092a650ef667d09794a87f015ef0a366de236 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad-buildd:backend-find-empty-output |
Merge into: | launchpad-buildd:master |
Diff against target: |
84 lines (+11/-1) 4 files modified
debian/changelog (+1/-0) lpbuildd/target/backend.py (+1/-1) lpbuildd/target/tests/test_chroot.py (+5/-0) lpbuildd/target/tests/test_lxd.py (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+413676@code.launchpad.net |
Commit message
Fix handling of empty output in Backend.find
Description of the change
`Backend.find` mishandled empty output (i.e. if no paths were matched): in that case it returned `['']`. It now correctly returns `[]` instead.
To post a comment you must log in.