Merge lp:~jderose/desktopcouch/ctx-should-default-to-None into lp:desktopcouch
Proposed by
Jason Gerard DeRose
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Vincenzo Di Somma | ||||
Approved revision: | 200 | ||||
Merged at revision: | 211 | ||||
Proposed branch: | lp:~jderose/desktopcouch/ctx-should-default-to-None | ||||
Merge into: | lp:desktopcouch | ||||
Diff against target: |
14 lines (+3/-1) 1 file modified
desktopcouch/records/server.py (+3/-1) |
||||
To merge this branch: | bzr merge lp:~jderose/desktopcouch/ctx-should-default-to-None | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincenzo Di Somma (community) | Approve | ||
Eric Casteleijn (community) | Approve | ||
Review via email: mp+40313@code.launchpad.net |
Commit message
Make context function-argument default-value None so that callers need not concern themselves with complex imports.
Description of the change
Small change to make it easier for 3rd-party apps to use destopcouch test idioms (this is a problem for dmedia).
To post a comment you must log in.
I think I'm missing the point of this change. In what scenario would this make a difference? Is it to do with the import time instantiation of default arguments?