[Buildroot] [PATCH] scanpypi: rework download_package error handling

Peter Korsgaard peter at korsgaard.com
Fri Jun 15 13:05:54 UTC 2018


>>>>> "Yegor" == Yegor Yefremov <yegorslists at googlemail.com> writes:

Hi,

 >> Printing out 'lines', it seems to be a mix of normal strings and unicode:
 >> 
 >> lines: ['config BR2_PACKAGE_PYTHON_VALIDATORS\n', '\tbool "python-validators"\n', '\tselect BR2_PACKAGE_PYTHON_SIX # runtime\n', '\tselect BR2_PACKAGE_PYTHON_DECORATOR # runtime\n', '\thelp\n', u'\t  Python Data Validation for Humans\u2122.\n', '\n', u'\t  https://github.com/kvesteri/validators\n']

 > I'm still using Python 2 by default. In this case I think trademark
 > symbol is the problem.

Yes. Perhaps we should filter out these unicode characters? We probably
don't really want a TM character in the help text anyway.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list