CouchDatabase.__init__() `ctx` kwarg should work when None

Bug #672481 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Fix Released
Undecided
Jason Gerard DeRose

Bug Description

In trying to use desktopcouch test idioms in dmedia, I encountered this small annoyance in desktopcouch.records.server.CouchDatabase.__init__()

dmedialib.metastore.MetaStore can be passed a desktopcouch context for testing purposes, but currently can't default to None, must instead default to desktopcouch.local_files.DEFAULT_CONTEXT (which is pretty invasive, doesn't hide desktopcouch implementation details well).

Small fix, which I'll provide shortly.

Related branches

Changed in desktopcouch:
assignee: nobody → Jason Gerard DeRose (jderose)
status: New → Fix Committed
Chad Miller (cmiller)
Changed in desktopcouch:
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.