Merge lp:~maxb/launchpad/py2.6-importfascist-again into lp:launchpad
Proposed by
Max Bowsher
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~maxb/launchpad/py2.6-importfascist-again |
Merge into: | lp:launchpad |
Diff against target: |
116 lines (+24/-21) 1 file modified
lib/lp/scripts/utilities/importfascist.py (+24/-21) |
To merge this branch: | bzr merge lp:~maxb/launchpad/py2.6-importfascist-again |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle | Approve | ||
Review via email: mp+19927@code.launchpad.net |
Commit message
Fix the argument names of importfascist to match those of the default __import__, as those are actually part of the interface when called by keyword arguments.
To post a comment you must log in.
Back in devel r10090, jml renamed some of the parameters of importfascist to "nicer" names. However, these names are actually part of the interface of __import__(...) when invoked using keyword arguments, and the encodings module in the Python 2.6 standard library actually does so. So, this branch puts the names back to the standard ones as defined by the built-it __import__(...).