Merge lp:~jkakar/storm/sqlobject-is-empty into lp:storm
Proposed by
Jamu Kakar
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jamu Kakar | ||||
Approved revision: | 365 | ||||
Merged at revision: | 366 | ||||
Proposed branch: | lp:~jkakar/storm/sqlobject-is-empty | ||||
Merge into: | lp:storm | ||||
Diff against target: |
65 lines (+27/-1) 3 files modified
storm/sqlobject.py (+10/-0) storm/store.py (+1/-1) tests/sqlobject.py (+16/-0) |
||||
To merge this branch: | bzr merge lp:~jkakar/storm/sqlobject-is-empty | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Stuart Bishop (community) | Approve | ||
Storm Developers | Pending | ||
Review via email: mp+31565@code.launchpad.net |
Description of the change
This branch introduces the following changes:
- SQLObjectResultSet has a new is_empty method that behaves the same
as the existing __nonzero__ method. It should be used in
preference to __nonzero__ which isn't supported by ResultSet,
whereas is_empty is.
To post a comment you must log in.
Looks good.