unable to import ConfigParser on python3

Bug #1367434 reported by Zygmunt Krynicki
6
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

Revision history for this message
Zygmunt Krynicki (zyga) wrote :
Revision history for this message
Tres Seaver (tseaver) wrote :

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.

Tres Seaver (tseaver)
Changed in pkginfo:
status: New → Fix Committed
Revision history for this message
Tres Seaver (tseaver) wrote :
Changed in pkginfo:
assignee: nobody → Tres Seaver (tseaver)
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.