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

Bug #905529 reported by Gavin Panella on 2011-12-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
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) on 2011-12-16
Changed in storm:
status: Triaged → In Progress
assignee: nobody → Gavin Panella (allenap)
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers