Merge ~cjwatson/launchpad:py3-importpedant into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 39ccb6adb62049403f9bc8acb262c3c3a61f87c9 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:py3-importpedant |
Merge into: | launchpad:master |
Diff against target: |
22 lines (+3/-1) 1 file modified
lib/lp/scripts/utilities/importpedant.py (+3/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thiago F. Pappacena (community) | Approve | ||
Review via email: mp+387772@code.launchpad.net |
Commit message
Fix import_pedant for Python 3
Description of the change
As of Python 3.3, the default value for the "level" argument to __import__ is 0, and the previous default of -1 (i.e. attempt both absolute and relative imports) is no longer supported.
To post a comment you must log in.
LGTM