EmptyResultSet.config() returns None but ResultSet.config() returns self

Bug #905529 reported by Gavin Panella
6
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(more_results):
  return store.find(...).union(more_results).config(limit=10)

Related branches

Gavin Panella (allenap)
Changed in storm:
status: Triaged → In Progress
assignee: nobody → Gavin Panella (allenap)
Revision history for this message
Gavin Panella (allenap) wrote :

Not sure this is even a bug any more.

Changed in storm:
assignee: Gavin Panella (allenap) → nobody
status: In Progress → New
Colin Watson (cjwatson)
Changed in storm:
milestone: none → 0.23
Colin Watson (cjwatson)
Changed in storm:
status: New → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in Storm 0.23.

Changed in storm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.