Merge lp:~bac/launchpad/bug-496701-mimetypes into lp:launchpad/db-devel
Proposed by
Brad Crittenden
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~bac/launchpad/bug-496701-mimetypes | ||||
Merge into: | lp:launchpad/db-devel | ||||
Diff against target: |
51 lines (+11/-5) 3 files modified
buildout.cfg (+4/-0) lib/lp/services/tests/test_mime.py (+7/-1) lib/site.py (+0/-4) |
||||
To merge this branch: | bzr merge lp:~bac/launchpad/bug-496701-mimetypes | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган (community) | release-critical | Approve | |
Curtis Hovey (community) | code | Approve | |
Review via email: mp+16170@code.launchpad.net |
Commit message
Move initialization code to buildout.cfg from site.py.
To post a comment you must log in.
= Summary =
The initialization added to lib/site.py to modify the mimetypes standard library is
not functioning as planned. Moving the initialization to buildout.cfg, as Gary
initially suggested, does work.
== Proposed fix ==
Move init calls to the [scripts] section of buildout.cfg. A more standard place will
be provided by the foundations team in the near future.
== Pre-implementation notes ==
Call with Gary.
== Implementation details ==
As above.
== Tests ==
Interactive tests to prove the intialization has worked.
== Demo and Q/A ==
Perform the QA for bug 490224 and ensure it now works.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
buildout.cfg
lib/site.py