apt-portal import opkg repos :) & some comments
Markus Törnqvist
mjt at nysv.org
Sat Aug 29 12:48:04 CEST 2009
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
More information about the community
mailing list