EmptyResultSet.config() returns None but ResultSet.config() returns self
Bug #905529 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
Fix Released
|
Low
|
Unassigned |
Bug Description
The following will work find if more_results is a ResultSet, and will crash if it's an EmptyResultSet:
def example(
return store.find(
Related branches
lp:~allenap/storm/empty-result-set-config-bug-905529
- Colin Watson: Approve
- Free Ekanayaka (community): Approve
-
Diff: 27 lines (+5/-1)2 files modifiedstorm/store.py (+1/-1)
tests/store/base.py (+4/-0)
Changed in storm: | |
status: | Triaged → In Progress |
assignee: | nobody → Gavin Panella (allenap) |
Changed in storm: | |
milestone: | none → 0.23 |
Changed in storm: | |
status: | New → Fix Committed |
To post a comment you must log in.
Not sure this is even a bug any more.