apt-portal import opkg repos :) & some comments
Joao Pinto
joao.pinto at getdeb.net
Sat Aug 29 15:31:24 CEST 2009
On Sat, Aug 29, 2009 at 11:48 AM, Markus Törnqvist<mjt at nysv.org> wrote:
> On Sat, Aug 29, 2009 at 12:27:49PM +0300, Markus T�rnqvist wrote:
>>
>>After all that typing, I say we just remove the encode() call and use
>>utf-8 across the board ;)
>
> The below patch works
>
> --- opkg2sql.py.orig 2009-08-29 13:46:21.004642989 +0300
> +++ opkg2sql.py 2009-08-29 13:46:05.995767671 +0300
> @@ -135,7 +135,7 @@
> source = control['Source']
> version = control['Version']
> architecture = control['Architecture']
> - description = control['Description'].encode('ascii','ignore')
> + description = unicode(control['Description'])
> homepage = control['HomePage']
> package = Package.query.filter_by( \
> package = package_name, \
>
> --
> mjt
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
I have applied the fix at dpkg_control.py, converting the entire
control file contents to utf8.
Thanks
--
João Luís Marques Pinto
GetDeb Team Leader
http://www.getdeb.net
http://blog.getdeb.net
More information about the community
mailing list