Bug#586021: python-debian: patch for #586021

John Wright jsw at debian.org
Sun Jul 25 08:58:20 UTC 2010


Hi Sean,

On Sat, Jun 19, 2010 at 12:36:09PM +0200, sean finney wrote:
> Package: python-debian
> Version: 0.1.16
> Severity: normal
> 
> hi,
> 
> attached is a patch that does something similar to what i was suggesting
> earlier.

Thanks for your patch.  Sorry it took me so long to get to it - I've
been moving and getting settled into a new job.

I wound up going with a different solution, using the python-chardet
package to try to auto-detect the character encoding if the default
decode failed.  This way the user usually won't have to worry at all
about encoding issues.  It works for me on the etch Sources file.

I've attached the patch I committed, and I'm about to upload.  Feel free
to reopen the bug if it doesn't solve your problem!

-- 
John Wright <jsw at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-deb822-Use-chardet-to-try-to-detect-character-encodi.patch
Type: text/x-diff
Size: 9249 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20100725/bff69bbd/attachment.patch>


More information about the pkg-python-debian-maint mailing list