Merge lp:~jkakar/storm/sqlobject-is-empty into lp:storm
Proposed by
Jamu Kakar
on 2010-08-02
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Jamu Kakar on 2010-08-05 | ||||
| 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 on 2010-08-05 | ||
| Stuart Bishop | 2010-08-02 | Approve on 2010-08-03 | |
| Storm Developers | 2010-08-02 | Pending | |
|
Review via email:
|
|||
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.