Make reduce_js an optional argument to CouchDatabaseBase.add_view

Bug #675616 reported by Eric Casteleijn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Fix Released
Low
Eric Casteleijn
desktopcouch (Ubuntu)
Fix Released
Low
Eric Casteleijn

Bug Description

Since a lot of views don't include reduction steps, it is silly to require them to pass in an empty string for this argument. Let's make it a keyword argument with a default value of None and then not add any reduce key to the view dictionary at all if it's not passed in.

Related branches

Changed in desktopcouch:
status: Triaged → In Progress
Changed in desktopcouch:
status: In Progress → Fix Committed
Changed in desktopcouch (Ubuntu):
assignee: nobody → Eric Casteleijn (thisfred)
status: New → In Progress
importance: Undecided → Low
milestone: none → natty-alpha-1
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-1 → natty-alpha-2
Changed in desktopcouch:
status: Fix Committed → Fix Released
Changed in desktopcouch (Ubuntu):
status: In Progress → 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.