unable to import ConfigParser on python3
Bug #1367434 reported by
Zygmunt Krynicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkginfo |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
Hi.
I was working on the Debian package of pkginfo so that it could support python3. I found that the commandline module blindly imports 'ConfigParser' which has been renamed to configparser on python3.x.
I've fixed this in the package, I'd like to provide my patches and merge them to pkginfo
Related branches
Changed in pkginfo: | |
status: | New → Fix Committed |
To post a comment you must log in.
Thanks for the report, and the patch!
I'm likely to fix the bug slightly differently (using a conditional import, rather than a version check). Look for the fix in a 1.2 final release later today.